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

Fixing IFramed application exceptions caused by window.localStorage in Flight #233

Conversation

maxwellE
Copy link
Contributor

Environment:
OSX Build 13C64
Chrome Version 33.0.1750.152
Flight version 1.0.9 (Can also replicate on 1.1.3)

Steps to reproduce:

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

This is quite a severe bug for us and I would appreciate feedback ASAP. Thanks.

@angus-c
Copy link
Contributor

angus-c commented Mar 28, 2014

want to land this, but trying to get travis to npm install without griping (not your fault)

@maxwellE
Copy link
Contributor Author

Awesome! Thanks for the update @angus-c !

@angus-c
Copy link
Contributor

angus-c commented Mar 28, 2014

Would you mind merging from master? (there was a karma peer dependency issue that was making travis fail)

@maxwellE
Copy link
Contributor Author

Do you mean merge with master? I do not know what that would do though, there does not seem to be any differences other than those I made.

…wise window.localStorage calls can crash iframed applications using flight
@maxwellE
Copy link
Contributor Author

Rebased with your new master. Can you rerun TravisCI?

@angus-c
Copy link
Contributor

angus-c commented Mar 28, 2014

thanks (I tweaked package.json). All good now

angus-c added a commit that referenced this pull request Mar 28, 2014
…e_when_using_twitter_flight_through_an_iframe

Fixing IFramed application exceptions caused by window.localStorage in Flight
@angus-c angus-c merged commit 90bc830 into flightjs:master Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants