mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-27 14:22:08 +00:00 
			
		
		
		
	 b456adcb59
			
		
	
	
		b456adcb59
		
	
	
	
	
		
			
			`Window` itself isn't generated from an IDL file so it doesn't get to make use of this mixin, but it ideally would do so.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			821 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			821 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/EventTarget.idl>
 | |
| #import <DOM/EventHandler.idl>
 | |
| #import <HTML/WindowOrWorkerGlobalScope.idl>
 | |
| #import <HTML/WorkerLocation.idl>
 | |
| #import <HTML/WorkerNavigator.idl>
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope
 | |
| [Exposed=Worker]
 | |
| interface WorkerGlobalScope : EventTarget {
 | |
|     readonly attribute WorkerGlobalScope self;
 | |
|     readonly attribute WorkerLocation location;
 | |
|     readonly attribute WorkerNavigator navigator;
 | |
|     undefined importScripts(USVString... urls);
 | |
| 
 | |
|     attribute OnErrorEventHandler onerror;
 | |
|     attribute EventHandler onlanguagechange;
 | |
|     attribute EventHandler onoffline;
 | |
|     attribute EventHandler ononline;
 | |
|     attribute EventHandler onrejectionhandled;
 | |
|     attribute EventHandler onunhandledrejection;
 | |
| };
 | |
| 
 | |
| WorkerGlobalScope includes WindowOrWorkerGlobalScope;
 |