[Webkit-unassigned] [Bug 124708] New: DataCloneError exception is not thrown after invalid postMessage method invocation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 21 03:52:59 PST 2013


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

           Summary: DataCloneError exception is not thrown after invalid
                    postMessage method invocation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: m.poteralski at samsung.com


According to the specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#dom-window-postmessage 

If the method was invoked with a second argument transfer then if any of the objects in the transfer are either the source port or the target port (if any), then a DataCloneError exception should be thrown. Currently an InvalidStateError exception is thrown what is an incorrect behaviour.

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