// https://html.spec.whatwg.org/multipage/web-messaging.html#broadcastchannel
[Exposed=(Window,Worker)]
interface BroadcastChannel : EventTarget {
    constructor(DOMString name);

    readonly attribute DOMString name;
    undefined postMessage(any message);
    undefined close();
    attribute EventHandler onmessage;
    attribute EventHandler onmessageerror;
};
