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

2010-01-06 Thread Anne van Kesteren
On Wed, 06 Jan 2010 06:30:17 +0100, Darin Fisher da...@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/


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

2010-01-06 Thread Darin Fisher
On Wed, Jan 6, 2010 at 1:11 AM, Anne van Kesteren ann...@opera.com wrote:

 On Wed, 06 Jan 2010 06:30:17 +0100, Darin Fisher da...@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?)


It was given as * in the example.
-Darin