neb.js
neb.js copied to clipboard
Error using chrome with third-party cookies blocked
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 https://github.com/iancoleman/bip39/issues/395