mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
8f110e0fb1
No interfaces require wrappers anymore, so we can just make this the default mode.
21 lines
613 B
Plaintext
21 lines
613 B
Plaintext
#import <DOM/Event.idl>
|
|
|
|
[]
|
|
interface MessageEvent : Event {
|
|
constructor(DOMString type, optional MessageEventInit eventInitDict = {});
|
|
|
|
readonly attribute any data;
|
|
readonly attribute USVString origin;
|
|
readonly attribute DOMString lastEventId;
|
|
// FIXME: readonly attribute MessageEventSource? source;
|
|
// FIXME: readonly attribute FrozenArray<MessagePort> ports;
|
|
};
|
|
|
|
dictionary MessageEventInit : EventInit {
|
|
any data = null;
|
|
USVString origin = "";
|
|
DOMString lastEventId = "";
|
|
// FIXME: MessageEventSource? source = null;
|
|
// FIXME: sequence<MessagePort> ports = [];
|
|
};
|