[Webkit-unassigned] [Bug 63141] Wrong argument order in window.postMessage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 29 21:48:09 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63141





--- Comment #7 from johnjbarton <johnjbarton at johnjbarton.com>  2011-08-29 21:48:09 PST ---
(In reply to comment #6)
> It looks like the WebKit API is
>   otherWindow.postMessage(message, ports);
> Specifically a third argument is not allowed. V8 at least requires the |ports| to be an Array.

At least in Chrome (V8), the third argument is required and is checked as a targetOrigin. So perhaps I am not reading the WebKit source correctly.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list