-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Viewer does not support local files on Chromium #10587
Comments
As is clearly mentioned in the README, see https://github.com/mozilla/pdf.js#getting-the-code, not all browsers support the
|
Chrome supports the file protocol, as it works with the built-in PDF viewer and with the chrome extension (which was apparently fixed in #9363). So I'm pretty sure this is a bug in pdf.js and not a missing feature in Chrome.
|
OK, I found it:
My Firefox (60 ESR) doesn't have Looks like the logic not to use
Edit Removing the Edit2 Firefox 65 works, as it supports |
Configuration:
Steps to reproduce the problem:
What is the expected behavior?
Embedded PDF shown (it works in Firefox ESR 60).
What went wrong?
Error in console: Fetch API cannot load file:///C:/pdftest/web/compressed.tracemonkey-pldi-09.pdf. URL scheme must be "http" or "https" for CORS request.
I have seen #9361 and #9020 but I don't think that's the solution in this case.
The text was updated successfully, but these errors were encountered: