Serenity Operating System
at master 14 lines 373 B view raw
1#import <DOM/Event.idl> 2 3[Exposed=(Window,Worker), UseNewAKString] 4interface PromiseRejectionEvent : Event { 5 constructor(DOMString type, PromiseRejectionEventInit eventInitDict); 6 7 readonly attribute Promise<any> promise; 8 readonly attribute any reason; 9}; 10 11dictionary PromiseRejectionEventInit : EventInit { 12 required Promise<any> promise; 13 any reason; 14};