mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
15 lines
373 B
Plaintext
15 lines
373 B
Plaintext
#import <DOM/Event.idl>
|
|
|
|
[Exposed=(Window,Worker), UseNewAKString]
|
|
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;
|
|
};
|