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

Handle localstorage 'access denied exception' #140

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

schutm
Copy link

@schutm schutm commented Oct 29, 2020

Using my, webkit based, Vivaldi browser I noticed accessing window.localStorage doesn't return undefined, but throws an access denied exception. Therefor I wrapped the wnidows##localStorage calls in a try... with block.

@joprice
Copy link
Contributor

joprice commented Feb 15, 2021

This might be easier to merge if you make use of the existing npm lock file so that the bucklescript version isn't changed, resulting in such a significant diff, and removing the yarn lock file, since this project doesn't seem to use yarn.

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.

None yet

2 participants