Skip to content

Ensure localStorage is not fired in the source window with IE9/10 #3

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

thisiskylierose
Copy link

HTML5 localStorage implementation in IE 9/10 does not match the spec. This is a known issue and the pull request addresses a work-around. Please test and feedback any changes required. See link below for more details on the problem.

https://connect.microsoft.com/IE/feedback/details/774798/localstorage-event-fired-in-source-window

@rt2zz
Copy link
Owner

rt2zz commented Nov 26, 2015

@thisiskylierose why did you close?

@thisiskylierose
Copy link
Author

I need to do some more testing on the changes first.

@thisiskylierose
Copy link
Author

Please have a look now - have tested these changes more with redux in a build and it seems to be working well. Need to run tests in IE9/10 to make sure those browsers play nice. :)

@thisiskylierose
Copy link
Author

@aij
Copy link
Contributor

aij commented Nov 9, 2016

This seems to be assuming the focused window is the source window. While that may be true for your specific application, it is not true in general.

For example, we sometimes trigger redux updates as a result of an HTTP response, which may come in while a different window/tab is in focus.

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.

3 participants