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

Error using chrome with third-party cookies blocked #66

Open
iancoleman opened this issue Jan 9, 2020 · 0 comments
Open

Error using chrome with third-party cookies blocked #66

iancoleman opened this issue Jan 9, 2020 · 0 comments

Comments

@iancoleman
Copy link

This library does not load correctly when used in chrome for users with third-party cookies disabled.

When users have this setting enabled, localStorage is blocked.
https://www.chromium.org/for-testers/bug-reporting-guidelines/uncaught-securityerror-failed-to-read-the-localstorage-property-from-window-access-is-denied-for-this-document

The error in dev tools is "Failed to read the 'localStorage' property from 'Window': Access is denied for this document."

This affects code in native.js which has calls to localStorage.

This might be fixed by wrapping the localStorage aspects in a try/catch. Or there may be some other clever way.

Related to iancoleman/bip39#395

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