mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:12:44 +00:00 
			
		
		
		
	 b5acc5f2df
			
		
	
	
		b5acc5f2df
		
	
	
	
	
		
			
			This allows the initial fetch() in the run a worker AO to use the proper values from the outside settings.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			466 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			466 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include <AK/URL.h>
 | |
| #include <LibIPC/File.h>
 | |
| #include <LibWeb/HTML/StructuredSerialize.h>
 | |
| #include <LibWeb/HTML/Scripting/SerializedEnvironmentSettingsObject.h>
 | |
| 
 | |
| endpoint WebWorkerServer {
 | |
| 
 | |
|     start_dedicated_worker(URL url, String type, String credentials, String name, Web::HTML::TransferDataHolder message_port, Web::HTML::SerializedEnvironmentSettingsObject outside_settings) =|
 | |
| 
 | |
|     handle_file_return(i32 error, Optional<IPC::File> file, i32 request_id) =|
 | |
| }
 |