Realm, schmealm!

Boris Zbarsky bzbarsky at
Fri Aug 2 17:22:30 PDT 2013

On 8/2/13 6:16 PM, David Bruant wrote:
> IIRC the only valid reason to set document.domain is pre-postMessage
> cross-eTLD+1-frame communication.


> How big is the intersection of websites both needing to support IE6/7
> and cross-eTLD+1-frame communcation?

IE8 and IE9 don't support postMessage to a cross-origin window that's 
not in one of your subframes.  And it's not clear what the state of 
things is in IE10, exactly.  See

But more importantly, having written your code before postMessage 
existed is a valid reason to not use postMessage, and that doesn't mean 
we should necessarily break that code.


More information about the es-discuss mailing list