ladybird/Userland/Libraries/LibWeb/HTML/MessageEvent.idl
Andreas Kling 8f110e0fb1 LibWeb: Remove the NoInstanceWrapper extended IDL attribute
No interfaces require wrappers anymore, so we can just make this the
default mode.
2022-09-06 00:27:09 +02:00

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 = [];
};