mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
14 lines
437 B
Text
14 lines
437 B
Text
#import <DOM/EventHandler.idl>
|
|
#import <DOM/EventTarget.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/web-messaging.html#broadcastchannel
|
|
[Exposed=(Window,Worker)]
|
|
interface BroadcastChannel : EventTarget {
|
|
constructor(DOMString name);
|
|
|
|
readonly attribute DOMString name;
|
|
[FIXME] undefined postMessage(any message);
|
|
undefined close();
|
|
attribute EventHandler onmessage;
|
|
attribute EventHandler onmessageerror;
|
|
};
|