mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibWeb: Port DOMException interface from DeprecatedString to String
This commit is contained in:
parent
bcb6851c07
commit
41928c2902
65 changed files with 296 additions and 296 deletions
|
@ -842,7 +842,7 @@ WebIDL::ExceptionOr<void> Navigable::navigate(
|
|||
if (!source_document->navigable()->allowed_by_sandboxing_to_navigate(*this, source_snapshot_params)) {
|
||||
// 1. If exceptionsEnabled is true, then throw a "SecurityError" DOMException.
|
||||
if (exceptions_enabled) {
|
||||
return WebIDL::SecurityError::create(realm, "Source document's node navigable is not allowed to navigate"sv);
|
||||
return WebIDL::SecurityError::create(realm, "Source document's node navigable is not allowed to navigate"_fly_string);
|
||||
}
|
||||
|
||||
// 2 Return.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue