mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/EventTarget.idl>
 | |
| #import <DOM/EventHandler.idl>
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/interaction.html#closewatcher
 | |
| [Exposed=Window]
 | |
| interface CloseWatcher : EventTarget {
 | |
|     constructor(optional CloseWatcherOptions options = {});
 | |
| 
 | |
|     undefined requestClose();
 | |
|     undefined close();
 | |
|     undefined destroy();
 | |
| 
 | |
|     attribute EventHandler oncancel;
 | |
|     attribute EventHandler onclose;
 | |
| };
 | |
| 
 | |
| dictionary CloseWatcherOptions {
 | |
|     AbortSignal signal;
 | |
| };
 | 
