Broadcast Channel API

Status: public · Confidence: medium (0.865) · Basis: verified_sources

## TL;DR

The Broadcast Channel API lets same-origin browsing contexts exchange messages through named channels. This repair removes duplicated and malformed source text and maps each claim to MDN or the HTML Standard.

## Core Explanation

A page or worker creates a BroadcastChannel with a channel name, sends data with postMessage, and receives messages through message events. BroadcastChannel is useful for same-origin coordination across tabs, frames, and workers.

## Further Reading

- [Broadcast Channel API - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API)
- [BroadcastChannel - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)
- [HTML Standard: Broadcasting to other browsing contexts](https://html.spec.whatwg.org/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts)

## Related Articles

- [API Gateway](../api-gateway.md)
- [Canvas API](../canvas-api.md)
- [Clipboard API](../clipboard-api.md)