PromiseRejectionEvent.idl 357 B

1234567891011121314
  1. #import <DOM/Event.idl>
  2. [Exposed=(Window,Worker)]
  3. interface PromiseRejectionEvent : Event {
  4. constructor(DOMString type, PromiseRejectionEventInit eventInitDict);
  5. readonly attribute Promise<any> promise;
  6. readonly attribute any reason;
  7. };
  8. dictionary PromiseRejectionEventInit : EventInit {
  9. required Promise<any> promise;
  10. any reason;
  11. };