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.
Version
No response
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
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
.onmessageand.onmessageerrorare getters+setters inherited fromEventTarget.