mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:02:46 +00:00 
			
		
		
		
	 d4a890080d
			
		
	
	
		d4a890080d
		
	
	
	
	
		
			
			NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
		
			
				
	
	
		
			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;
 |