mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
Everywhere: Remove sv
suffix from format string literals
This prevents the compile-time checks that would catch errors in the format invocation (which would usually lead to a runtime crash).
This commit is contained in:
parent
917537b449
commit
f070264800
Notes:
github-actions[bot]
2025-04-09 00:01:12 +00:00
Author: https://github.com/trflynn89
Commit: f070264800
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4286
28 changed files with 51 additions and 51 deletions
|
@ -2654,7 +2654,7 @@ static void generate_html_constructor(SourceGenerator& generator, IDL::Construct
|
|||
|
||||
// 2. If valid local names does not contain definition's local name, then throw a TypeError.
|
||||
if (!valid_local_names.contains_slow(definition->local_name()))
|
||||
return vm.throw_completion<JS::TypeError>(MUST(String::formatted("Local name '{}' of customized built-in element is not a valid local name for @name@"sv, definition->local_name())));
|
||||
return vm.throw_completion<JS::TypeError>(MUST(String::formatted("Local name '{}' of customized built-in element is not a valid local name for @name@", definition->local_name())));
|
||||
|
||||
// 3. Set isValue to definition's name.
|
||||
is_value = definition->name();
|
||||
|
|
|
@ -1114,7 +1114,7 @@ bool is_animatable_property(JsonObject& properties, StringView property_name)
|
|||
}
|
||||
|
||||
if (!property.value().has("longhands"sv)) {
|
||||
dbgln("Property '{}' must specify either 'animation-type' or 'longhands'"sv, property_name);
|
||||
dbgln("Property '{}' must specify either 'animation-type' or 'longhands'", property_name);
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue