1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 06:44:58 +00:00
serenity/Userland/Libraries/LibWeb/HTML/PromiseRejectionEvent.idl

14 lines
376 B
Text

#import <DOM/Event.idl>
[Exposed=(Window,Worker), NoInstanceWrapper]
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;
};