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

Wrap localStorage check in try/catch. #190

Closed
wants to merge 1 commit into from
Closed

Wrap localStorage check in try/catch. #190

wants to merge 1 commit into from

Conversation

lamberta
Copy link
Contributor

In Chrome with cookies disabled, accessing window.localStorage throws a DOM security error 18. This wraps the feature test up in a try/catch block so it can carry on its way, setting the methods with utils.noop.

Addresses issue #189

@jharding
Copy link
Contributor

Awesome, thanks.

@jharding
Copy link
Contributor

Merged into intergration-0.9.2.

@jharding jharding closed this Apr 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants