-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
workerIssues and PRs related to Worker support.Issues and PRs related to Worker support.
Description
The following test currently fails:
'use strict';
const assert = require('assert');
const channel = new MessageChannel();
channel.port2.onmessage = function(event) {
assert.strictEqual(event.ports.length, 1);
};
const channel2 = new MessageChannel();
channel.port1.postMessage('', [channel2.port1]);
Reference: https://html.spec.whatwg.org/multipage/comms.html#dom-messageevent-ports
Metadata
Metadata
Assignees
Labels
workerIssues and PRs related to Worker support.Issues and PRs related to Worker support.