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

PDF.js viewer triggers localStorage access error in Chrome's private browsing mode #412

Open
robertknight opened this issue Mar 15, 2021 · 0 comments

Comments

@robertknight
Copy link
Member

When testing an LMS PDF assignment in Incognito Mode in Chrome I noticed an error from Via3's copy of PDF.js in the console:

Chrome localhost error

In this environment, any attempt to access window.localStorage generates the following error:

Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

Chrome version: 90.0.4430.19 (Official Build) dev (x86_64)

The PDF content still loaded though and I haven't noticed any adverse effects on using Hypothesis yet.

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

No branches or pull requests

1 participant