mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
26e6c47d0a
The only IDL interface without a spec link is Internals
16 lines
412 B
Plaintext
16 lines
412 B
Plaintext
#import <DOM/Event.idl>
|
|
|
|
// https://html.spec.whatwg.org/#promiserejectionevent
|
|
[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;
|
|
};
|