mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:42:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			412 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			412 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Event.idl>
 | |
| 
 | |
| // https://html.spec.whatwg.org/#promiserejectionevent
 | |
| [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;
 | |
| };
 | 
