i have a very simple demo for cross domain communication in iframes using html5’s postMessage API. it successfully works for me in all modern browsers and in IE9 as well but not in IE8 or below.
I tried a solution of registring some html5 tags with a custom header but the window.postMessage is still something mysterious for IE8.
Yes i know i can use various ways for cross domain in IE8 like xdr, but for cleanness somebody please comment if window.postMessage can somehow work in IE8 or below.
Apparently, IE8 does not allow
postMessageacross tabs/windows, only betweeniframeand parent: reference. Below IE8 you’re out of luck, as IE7 was released in 2006, and HTML5 has been adopted as a working draft by the W3C in 2007.