[Webkit-unassigned] [Bug 52853] New: SharedWorker connect event should have a data attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 20 16:48:12 PST 2011


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

           Summary: SharedWorker connect event should have a data
                    attribute
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: atwilson at chromium.org


Per http://www.w3.org/Bugs/Public/show_bug.cgi?id=11827 and http://www.whatwg.org/specs/web-apps/current-work/complete/workers.html#shared-workers-and-the-sharedworker-interface, the SharedWorker spec reads:

"Create an event that uses the MessageEvent interface, with the name connect, which does not bubble, is not cancelable, has no default action, has a data attribute whose value is the empty string and has a ports attribute whose value is an array containing only the newly created port, and queue a task to dispatch the event at worker global scope."

Apparently, WebKit sets the data attribute to undefined, not the empty string - we should change the code to set this to the empty string to match the spec.

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