mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			556 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			556 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #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;
 | |
| 
 | |
|     undefined postMessage(any message, sequence<object> transfer);
 | |
|     undefined postMessage(any message, optional StructuredSerializeOptions options = {});
 | |
|     undefined close();
 | |
| 
 | |
|     attribute EventHandler onmessage;
 | |
|     attribute EventHandler onmessageerror;
 | |
| };
 | 
