[whatwg] using postMessage() to send to a newly-created window

Anne van Kesteren annevk at opera.com
Wed Jan 6 01:11:21 PST 2010


On Wed, 06 Jan 2010 06:30:17 +0100, Darin Fisher <darin at chromium.org>  
wrote:
> I suspect the postMessage would be dispatched in this case, but the event
> dispatch would probably go to the document at http://a/ instead of  
> http://b/.

This would fail as well because of the targetOrigin argument. (Unless that  
is * I guess, but can't you just check before invoking postMessage()  
anyway?)


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list