mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	LibJS: Fix spelling in VM.cpp
This commit is contained in:
		
							parent
							
								
									f34b1c7a7e
								
							
						
					
					
						commit
						9871bd4bec
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1026,7 +1026,7 @@ ThrowCompletionOr<void> VM::import_module_dynamically(ScriptOrModule referencing | |||
|         host_finish_dynamic_import(referencing_script_or_module, module_request, promise_capability, promise); | ||||
|     }; | ||||
| 
 | ||||
|     // Generally within ECMA262 we always get a referencing_script_or_moulde. However, ShadowRealm gives an explicit null.
 | ||||
|     // Generally within ECMA262 we always get a referencing_script_or_module. However, ShadowRealm gives an explicit null.
 | ||||
|     // To get around this is we attempt to get the active script_or_module otherwise we might start loading "random" files from the working directory.
 | ||||
|     if (referencing_script_or_module.has<Empty>()) { | ||||
|         referencing_script_or_module = get_active_script_or_module(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matthias Zimmerman
						Matthias Zimmerman