| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <DOM/EventTarget.idl> | 
					
						
							| 
									
										
										
										
											2022-03-30 23:35:42 +03:00
										 |  |  | #import <DOM/EventHandler.idl> | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | #import <HTML/WindowOrWorkerGlobalScope.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <HTML/WorkerLocation.idl> | 
					
						
							|  |  |  | #import <HTML/WorkerNavigator.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | // https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope | 
					
						
							| 
									
										
										
										
											2023-02-23 10:16:20 +01:00
										 |  |  | [Exposed=Worker, UseNewAKString] | 
					
						
							| 
									
										
										
										
											2022-02-06 19:12:57 -07:00
										 |  |  | interface WorkerGlobalScope : EventTarget { | 
					
						
							|  |  |  |     readonly attribute WorkerGlobalScope self; | 
					
						
							|  |  |  |     readonly attribute WorkerLocation location; | 
					
						
							|  |  |  |     readonly attribute WorkerNavigator navigator; | 
					
						
							|  |  |  |     undefined importScripts(USVString... urls); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-01 22:04:00 +03:00
										 |  |  |     attribute OnErrorEventHandler onerror; | 
					
						
							| 
									
										
										
										
											2022-02-06 19:12:57 -07:00
										 |  |  |     attribute EventHandler onlanguagechange; | 
					
						
							|  |  |  |     attribute EventHandler onoffline; | 
					
						
							|  |  |  |     attribute EventHandler ononline; | 
					
						
							|  |  |  |     attribute EventHandler onrejectionhandled; | 
					
						
							|  |  |  |     attribute EventHandler onunhandledrejection; | 
					
						
							|  |  |  | }; | 
					
						
							| 
									
										
										
										
											2022-07-27 20:36:21 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | WorkerGlobalScope includes WindowOrWorkerGlobalScope; |