-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Resource blob not found on IE11 #3977
Comments
Probably some intermittent problem with IE11 in non-debug mode. I can see images when debugging the PDF.js. Report it to the vendor via https://connect.microsoft.com/ As a workaround you can modify PDFJS.createObjectURL to always create data URL instead https://github.com/mozilla/pdf.js/blob/master/src/shared/util.js#L1103 |
I'm confused about this statement. The error clearly points to an issue with blob. |
I meant that the page displays fine even when I see the error. |
Yes, it's waiting for image to be loaded. We probably shall add img.onerror stuff when img.onload is used |
Is there a workaround for this iissue n IE? |
@ofirdev Yury posted a workaround a few comments ago: "As a workaround you can modify PDFJS.createObjectURL to always create data URL instead https://github.com/mozilla/pdf.js/blob/master/src/shared/util.js#L1103" |
I've tried commenting lines 1182-1187 to force it to use the data schema but I'm getting the same error. After all the work invested in IE compatibility, why are you willing to drop support instead of adding a simple fix in the compatibility.js file? |
@ofirdev We are not dropping support for IE, it's just that the developers are also very busy with other parts of PDF.js. There aren't that many developers and because it is primarily being developed for Firefox, the focus is there. We are definitely trying to support as much browsers as possible. Pull requests are therefore very welcome! Let's see if Yury has more ideas. /cc @yurydelendik |
@ofirdev did you report the issue to the IE vendor? |
Cool, thanks |
For instance: mozilla/pdf.js#3977 When reading a image out of a pdf, the resulting Blob does not have its readonly `type` property set. As a result, IE11 will only sometimes display the image. I'm as yet unclear why it does not behave predictably; I have had the same file fail or succeed on different runs.
I'm getting several errors with the attached pdf in IE11:
Resource 'blob:F2053AEF-3AE5-42E4-A411-D6F6E95E7072' not found
The loading icon on the second page keep spinning.
In a custom viewer with paging buttons, I can't switch from the first to the second page.
https://drive.google.com/file/d/0B0odzw1WMqkGMmVkWlRBN05rTG8/edit?usp=sharing
Thanks
The text was updated successfully, but these errors were encountered: