Skip to content
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

Work-around for filesystem:-URL bug #4598

Merged
merged 2 commits into from
Apr 11, 2014

Conversation

Rob--W
Copy link
Member

@Rob--W Rob--W commented Apr 11, 2014

Fixes #4592.

Visit https://robwu.nl/pdfjs/filesystem-worker-bug.htm and follow the
steps to verify that the extension works as intended with this patch.

Visit https://robwu.nl/pdfjs/filesystem-worker-bug.htm and follow the
steps to verify that the extension works as intended with this patch.
@yurydelendik
Copy link
Contributor

The function at https://github.com/mozilla/pdf.js/pull/4598/files#diff-dd42e9b2d2a652b8e312efa567698aa6R1918 grew a lot. Could you add that to the ChromeCom or move into separate file? It will be easier to develop and lint.

and also default to '' instead of DEFAULT_URL to avoid trying to
load a non-existent file when no file has been specified.
@Rob--W
Copy link
Member Author

Rob--W commented Apr 11, 2014

@yurydelendik Done. I've kept the commit separate from the first commit to have a clear distinction between the feature and the refactor.

yurydelendik added a commit that referenced this pull request Apr 11, 2014
Work-around for filesystem:-URL bug
@yurydelendik yurydelendik merged commit 012a727 into mozilla:master Apr 11, 2014
@yurydelendik
Copy link
Contributor

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot open local files on Chrome OS
2 participants