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

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/

Received on Wednesday, 6 January 2010 01:11:21 UTC