LibWeb: Port DOMException interface from DeprecatedString to String

This commit is contained in:
Shannon Booth
2023-09-06 16:03:01 +12:00
committed by Tim Flynn
parent bcb6851c07
commit 41928c2902
65 changed files with 296 additions and 296 deletions

View File

@@ -118,7 +118,7 @@ JS::Completion ClassicScript::run(RethrowErrors rethrow_errors, JS::GCPtr<JS::En
settings.clean_up_after_running_script();
// 2. Throw a "NetworkError" DOMException.
return throw_completion(WebIDL::NetworkError::create(settings.realm(), "Script error."));
return throw_completion(WebIDL::NetworkError::create(settings.realm(), "Script error."_fly_string));
}
// 3. Otherwise, rethrow errors is false. Perform the following steps: