mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
8f110e0fb1
No interfaces require wrappers anymore, so we can just make this the default mode.
15 lines
357 B
Plaintext
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;
|
|
};
|