2024-07-09 15:54:22 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#import <HTML/WorkerGlobalScope.idl>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								// https://html.spec.whatwg.org/multipage/workers.html#dedicatedworkerglobalscope
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker]
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    [Replaceable] readonly attribute DOMString name;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-28 20:14:18 +13:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    undefined postMessage(any message, sequence<object> transfer);
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-09 15:54:22 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    undefined postMessage(any message, optional StructuredSerializeOptions options = {});
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    undefined close();
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    attribute EventHandler onmessage;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    attribute EventHandler onmessageerror;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 |