Closed Bug 1333898 Opened 5 years ago Closed 5 years ago
Channel messaging incorrectly sets .source on the Message Event, as far as I can tell
This is leading to a test failure in testing/web-platform/tests/workers/postMessage_event_properties.htm on this line: assert_equals(evt.source, null, "source"); Per spec at https://html.spec.whatwg.org/multipage/comms.html#dom-messageport-postmessage as far as I can tell "source" never gets set so should be null... Note that "source" _is_ expected to be present for "connect" events on SharedWorkerGlobalScope, but not for the MessageChannel case, afaict....
Assignee: nobody → amarchesini
Also note that I could be misreading the spec and the test could be bogus. So please double-check me on this!
Attachment #8830728 - Flags: review?(kyle) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4b310f568584 MessageChannel messaging sets .ports to null, r=qdot
You need to log in before you can comment on or make changes to this bug.