bucklescript-tea icon indicating copy to clipboard operation
bucklescript-tea copied to clipboard

Handle localstorage 'access denied exception'

Open schutm opened this issue 3 years ago • 1 comments

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.

schutm avatar Oct 29 '20 10:10 schutm

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.

joprice avatar Feb 15 '21 15:02 joprice