-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
workerIssues and PRs related to Worker support.Issues and PRs related to Worker support.
Description
Version
No response
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
const { BroadcastChannel } = require('worker_threads')
const c = new BroadcastChannel("x")
if (c.onmessage !== null) throw "fail" // it's undefined
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
Additional information
Rabbit hole: browsers and deno agree .onmessage
and .onmessageerror
are getters+setters inherited from EventTarget
.
Metadata
Metadata
Assignees
Labels
workerIssues and PRs related to Worker support.Issues and PRs related to Worker support.