mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:22:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Event.idl>
 | |
| 
 | |
| // https://websockets.spec.whatwg.org/#the-closeevent-interface
 | |
| [Exposed=*]
 | |
| interface CloseEvent : Event {
 | |
|     constructor(DOMString type, optional CloseEventInit eventInitDict = {});
 | |
| 
 | |
|     readonly attribute boolean wasClean;
 | |
|     readonly attribute unsigned short code;
 | |
|     readonly attribute USVString reason;
 | |
| };
 | |
| 
 | |
| dictionary CloseEventInit : EventInit {
 | |
|     boolean wasClean = false;
 | |
|     unsigned short code = 0;
 | |
|     USVString reason = "";
 | |
| };
 | 
