bevacqua / local-storage

:left_luggage: A simplified localStorage API that just works
https://ponyfoo.com
MIT License
523 stars 62 forks source link

SecurityError when trying to read localStorage when access is denied #28

Open bcravenpax opened 4 years ago

bcravenpax commented 4 years ago
Screen Shot 2020-04-28 at 12 26 48 PM
tilvan commented 4 years ago

Had similar issue with iframe in Incognito mode in Chrome.

jasonbarry commented 4 years ago

I'm hitting this as well. 'localStorage' in global evaluates to true, but global.localStorage throws an error when running inside a frame in Incognito.