Broadcast Channel Browser Support

I’m wanting to use BroadcastChannel for a project I’m working on and the MDN page for Broadcast Channel says its only available in Chrome and Firefox. It does say however up the top that the feature is available in Web Workers which most browsers support.

Is that a documentation error or am I missing something?

No, it’s not an error. It means that the feature is available both under the main thread (i.e. under Window) and inside a spawned worker thread too. But, only in Chrome/Firefox. For something to be available inside worker threads, it has to be implemented inside the browser in the first place.

Ok, I think I understand. Thanks for the reply