files/en-us/web/api/broadcastchannel/index.md
{{APIRef("Broadcast Channel API")}} {{AvailableInWorkers}}
The BroadcastChannel interface represents a named channel that any {{glossary("browsing context")}} of a given {{glossary("origin")}} can subscribe to. It allows communication between different documents (in different windows, tabs, frames or iframes) of the same origin. Messages are broadcasted via a {{domxref("BroadcastChannel/message_event", "message")}} event fired at all BroadcastChannel objects listening to the channel, except the object that sent the message.
{{InheritanceDiagram}}
This interface also inherits properties from its parent, {{domxref("EventTarget")}}.
This interface also inherits methods from its parent, {{domxref("EventTarget")}}.
BroadcastChannel object listening to the same channel.This interface also inherits events from its parent, {{domxref("EventTarget")}}.
onmessage property.onmessageerror property.{{Specifications}}
{{Compat}}