1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibWeb: Port Node interface from DeprecatedString to String

Which is fortunately quite straight forward :^)
This commit is contained in:
Shannon Booth 2023-09-17 10:51:43 +12:00 committed by Andreas Kling
parent a76ef04ae6
commit 8ce9e51c97
21 changed files with 50 additions and 45 deletions

View file

@ -136,16 +136,16 @@ public:
JS::NonnullGCPtr<NodeList> child_nodes();
Vector<JS::Handle<Node>> children_as_vector() const;
virtual DeprecatedFlyString node_name() const = 0;
virtual FlyString node_name() const = 0;
DeprecatedString base_uri() const;
String base_uri() const;
DeprecatedString descendant_text_content() const;
DeprecatedString text_content() const;
void set_text_content(DeprecatedString const&);
String descendant_text_content() const;
Optional<String> text_content() const;
void set_text_content(Optional<String> const&);
DeprecatedString node_value() const;
void set_node_value(DeprecatedString const&);
Optional<String> node_value() const;
void set_node_value(Optional<String> const&);
JS::GCPtr<HTML::Navigable> navigable() const;