-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if we can use Babel's polyfills #8464
Comments
I've tried implementing this, WIP patches available here, and then testing with the output from |
Since When testing the above in IE9, the viewer did manage to load eventually, but the performance was subjectively worse than with the current So, how could/should we proceed here? |
do you have any numbers for it? With PDF.js 2.0 we could drop support for typed arrays polyfills (and IE9). I'm glad to hear that PDF.js is usable with core-js polyfills. Shall we just drop it now in favor of core-js ? |
I'm personally fine with dropping IE9 support in favor of using the Babel polyfills. More and more problems have come up (and sometimes worked around) to support IE9 while alternatives like IE10 and later are available for a long time. Dropping support will allow us to let Edit: It is also likely that performance of PDF.js will improve; see e.g., #4901. |
Closing since this is fixed. Either we eliminated polyfills for browsers that are not supported anymore in PDF.js 2.0 or we used the ones from |
... to remove some of our own polyfills (such as Symbol, Promise and WeakMap)
The text was updated successfully, but these errors were encountered: