mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibJS: Use FlyString in PropertyKey instead of DeprecatedFlyString
This required dealing with *substantial* fallout.
This commit is contained in:
parent
fc744e3f3f
commit
46a5710238
Notes:
github-actions[bot]
2025-03-24 22:28:26 +00:00
Author: https://github.com/awesomekling
Commit: 46a5710238
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4067
Reviewed-by: https://github.com/trflynn89
110 changed files with 985 additions and 987 deletions
|
@ -170,7 +170,7 @@ struct Formatter<Web::WebIDL::Exception> : Formatter<FormatString> {
|
|||
|
||||
if (value.is_object()) {
|
||||
auto& object = value.as_object();
|
||||
static const JS::PropertyKey message_property_key { "message" };
|
||||
static const JS::PropertyKey message_property_key { "message"_fly_string };
|
||||
auto has_message_or_error = object.has_own_property(message_property_key);
|
||||
if (!has_message_or_error.is_error() && has_message_or_error.value()) {
|
||||
auto message_object = object.get_without_side_effects(message_property_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue