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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 22 08:27:06 PDT 2011


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

           Summary: Wrong argument order in window.postMessage
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yurys at chromium.org
                CC: ap at webkit.org, andersca at apple.com, sam at webkit.org,
                    abarth at webkit.org


The specification says(http://dev.w3.org/html5/postmsg/#posting-messages) that the order of window.postMessage arguments is (message, targetOrigin, ports) while current WebKit implementation expects optional ports argument to go second i.e. (message, ports, targetOrigin). It was implemented this way in WebKit a couple of years ago(http://trac.webkit.org/changeset/32597/trunk/WebCore/bindings/js/JSDOMWindowCustom.cpp) so I'm not sure what we should do about this now when there may be some uses of that implementation.

-- 
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