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

On Wed, Jan 6, 2010 at 1:11 AM, Anne van Kesteren <annevk at opera.com> wrote:

> 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?)
>
>
It was given as "*" in the example.
-Darin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100106/6fd37c8b/attachment.htm>

Received on Wednesday, 6 January 2010 09:58:15 UTC