mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
15 lines
411 B
Text
15 lines
411 B
Text
#import <DOM/Event.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#promiserejectionevent
|
|
[Exposed=*]
|
|
interface PromiseRejectionEvent : Event {
|
|
constructor(DOMString type, PromiseRejectionEventInit eventInitDict);
|
|
|
|
readonly attribute object promise;
|
|
readonly attribute any reason;
|
|
};
|
|
|
|
dictionary PromiseRejectionEventInit : EventInit {
|
|
required object promise;
|
|
any reason;
|
|
};
|