123456789101112131415 |
- #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;
- };
|