ladybird/Userland/Libraries/LibWeb/HTML/PromiseRejectionEvent.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

15 lines
357 B
Plaintext

#import <DOM/Event.idl>
[Exposed=(Window,Worker)]
interface PromiseRejectionEvent : Event {
constructor(DOMString type, PromiseRejectionEventInit eventInitDict);
readonly attribute Promise<any> promise;
readonly attribute any reason;
};
dictionary PromiseRejectionEventInit : EventInit {
required Promise<any> promise;
any reason;
};