Closed caffodian closed 8 years ago
Argh. Incognito mode isn't a good way to disable localstorage for testing either. Continued search for how to actually trigger this security exception in IE...
Fixes #21
I think https://github.com/marcuswestin/store.js/blob/master/src/store.js#L156 catches the security exception correctly.
It looks like store.js will handle the permissions problem for us. It has a similar snippet to what Modernizr does. Also update the non-storejs feature detection to do the modernizr technique of attempting to use a localStorage API from inside a try/catch.