mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:32:43 +00:00 
			
		
		
		
	 95559c4277
			
		
	
	
		95559c4277
		
	
	
	
	
		
			
			This patch adds a basic initial implementation of these API's. Since LibWeb currently doesn't support workers, this implementation of messaging doesn't bother with serializing and deserializing messages.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			211 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			211 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface MessagePort : EventTarget {
 | |
| 
 | |
|     undefined postMessage(any message);
 | |
|     undefined start();
 | |
|     undefined close();
 | |
| 
 | |
|     attribute EventHandler onmessage;
 | |
|     attribute EventHandler onmessageerror;
 | |
| 
 | |
| };
 |