mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:02:44 +00:00 
			
		
		
		
	LibWeb: Generate exposed Window/Worker interfaces as lazy objects
We now lazily create these instances on-demand rather than all at once when a Window/Worker object is created.
This commit is contained in:
		
							parent
							
								
									3deb8e322f
								
							
						
					
					
						commit
						6e93d89ee3
					
				
					 4 changed files with 15 additions and 37 deletions
				
			
		|  | @ -35,7 +35,7 @@ public: | |||
|         realm->set_host_defined(move(host_defined)); | ||||
| 
 | ||||
|         // FIXME: Shared workers should use the shared worker method
 | ||||
|         Bindings::add_dedicated_worker_exposed_interfaces(realm->global_object(), *realm); | ||||
|         Bindings::add_dedicated_worker_exposed_interfaces(realm->global_object()); | ||||
| 
 | ||||
|         return settings_object; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn