mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
67ceba2e6a
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
12 lines
270 B
Text
12 lines
270 B
Text
#import <HTML/MessagePort.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/web-messaging.html#messagechannel
|
|
[Exposed=(Window,Worker)]
|
|
interface MessageChannel {
|
|
|
|
constructor();
|
|
|
|
readonly attribute MessagePort port1;
|
|
readonly attribute MessagePort port2;
|
|
|
|
};
|