Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE11 localStorage events fire twice or not at all in iframes

$
0
0

It's known that IE10 will (against spec) firestorage events locally (ie, within the same global execution context from which the event was triggered), but IE11 seems to stray even further from the w3c spec when it comes to same-domain iframes:

  • if the iframe is embedded in the page that triggered the storage event, the event will fire TWICE within that iframe.
  • if the iframe is embedded in a page that is different from that which triggered the storage event, the event will not fire at all within that iframe.
  • if the event is triggered from an iframe, it will fire TWICE locally and TWICE in any other iframe embedded in the same page, but not at all in iframes of other pages.

Anyone have any insight on this strange behavior?


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>