1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

LibWeb: Return child navigable target name set with FlyString keys

Saves us some unnecessary conversion since we already have FlyStrings
in the first place.
This commit is contained in:
Andreas Kling 2023-12-24 21:11:09 +01:00
parent ff63b2603d
commit de993be02f
2 changed files with 4 additions and 4 deletions

View file

@ -201,7 +201,7 @@ public:
static void set_inspector_object_exposed(bool);
static void set_internals_object_exposed(bool);
[[nodiscard]] OrderedHashMap<String, JS::NonnullGCPtr<Navigable>> document_tree_child_navigable_target_name_property_set();
[[nodiscard]] OrderedHashMap<FlyString, JS::NonnullGCPtr<Navigable>> document_tree_child_navigable_target_name_property_set();
[[nodiscard]] Vector<FlyString> supported_property_names();
[[nodiscard]] WebIDL::ExceptionOr<JS::Value> named_item_value(FlyString const&);