tymondesigns / angular-locker

🗄️ A simple & configurable abstraction for local/session storage in angular js projects
https://npm.im/angular-locker
MIT License
314 stars 42 forks source link

Fix Access Denied exception in IE #17

Closed zachjs closed 9 years ago

zachjs commented 9 years ago

IE11 on Windows 8 throws an Access Denied exception then the localStorage property is accessed. Locker access this property when it is constructed. This means that the exception cannot be caught by callers because it happens during the injection.

This is a very major issue, as it makes Locker essentially unusable in a production setting.

tymondesigns commented 9 years ago

Thank you for raising this, but not too keen on that implementation i'm afraid.

I will try and come up with a fix I'm more comfortable with over the weekend

Thanks!