mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	LibWeb: Make factory method of HTML::ModuleScript fallible
This commit is contained in:
		
							parent
							
								
									3e834636a6
								
							
						
					
					
						commit
						bfc8cbcf3b
					
				
				
				Notes:
				
					sideshowbarker
				
				2024-07-17 00:09:29 +09:00 
				
			
			Author: https://github.com/kennethmyhra
Commit: bfc8cbcf3b
Pull-request: https://github.com/SerenityOS/serenity/pull/17491
Reviewed-by: https://github.com/linusg ✅
			
					 3 changed files with 5 additions and 5 deletions
				
			
		|  | @ -29,7 +29,7 @@ class JavaScriptModuleScript final : public ModuleScript { | |||
| public: | ||||
|     virtual ~JavaScriptModuleScript() override; | ||||
| 
 | ||||
|     static JS::GCPtr<JavaScriptModuleScript> create(DeprecatedString const& filename, StringView source, EnvironmentSettingsObject&, AK::URL base_url); | ||||
|     static WebIDL::ExceptionOr<JS::GCPtr<JavaScriptModuleScript>> create(DeprecatedString const& filename, StringView source, EnvironmentSettingsObject&, AK::URL base_url); | ||||
| 
 | ||||
|     enum class PreventErrorReporting { | ||||
|         Yes, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kenneth Myhra
						Kenneth Myhra