2021-10-11 08:59:45 -03:00
|
|
|
#import <DOM/Event.idl>
|
|
|
|
|
|
2022-09-05 06:41:26 -03:00
|
|
|
[Exposed=(Window,Worker)]
|
2021-10-11 08:59:45 -03:00
|
|
|
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;
|
|
|
|
|
};
|