-
Notifications
You must be signed in to change notification settings - Fork 58
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
Broken inter-tab communication in IE when tab is an iframe #26
Comments
@gothy did you ever come up with a solution to get around this? I'm looking into this again now that I'm making a push for There was one comment on the first posted MS issue that looked promising: Posted by prumbles on 6/12/2014 at 12:38 PM
And two comments on the second posted MS issue that looked promising: Posted by Kiyokura on 4/27/2015 at 5:29 PM
Posted by Vageesh Dwivedi on 3/4/2015 at 6:14 AM
I've finally got a good vm setup so I can test this more easily now. I'm also going to try and create some IE-specific tests and see if I can automate testing for these cases. I'm hoping that I can replicate it with the following on sauce labs:
Based on the screenshots in the What I think is going on is that it's not sending the events, but that the data is accessible. If I can reproduce that behavior then I think I'm just going to go with a polling solution specifically for IE10/11. |
I was able to confirm that I'll try the workarounds to see if they have any effect at all. I think they probably won't, but it's worth trying. Based on this I think the polling solution is the right way to go. The trickiest part about this is that I don't want to do unnecessary work in the common case (that is, not expecting I think I will probably make it explicit, so you'd have to call a function, |
Hi @tejacques |
Digging into it revealed that localStorage in IE seems to be absolutely broken by design.
http://kntajus.blogspot.com/2014/08/local-storage-fundamentally-broken-in.html
https://connect.microsoft.com/IE/feedback/details/811546/ie11-localstorage-events-fire-twice-or-not-at-all-in-iframes
Even better!
https://connect.microsoft.com/IE/feedback/details/812563/ie-11-local-storage-synchronization-issues
Rising the PING_TIMEOUT or even all the timeouts didn't work.
So here's a starting point to see the problem:
10.0.2.2 host1
and10.0.2.2 host2
to c:/window/system32/drivers/etc/hosts (for this launch Notepad as Admin)ng-src="http://host1:9000/samples/index.html"
Egde
orIE10
http://host1:9000
and try to add more iframeshttp://host2:9000
and try to add more iframesThe text was updated successfully, but these errors were encountered: