LibWeb: Use FlyString for create_element() prefix strings

This commit is contained in:
Andreas Kling 2023-11-04 09:22:31 +01:00
commit 8f82bd044b
Notes: sideshowbarker 2024-07-17 05:02:42 +09:00
9 changed files with 16 additions and 19 deletions

View file

@ -118,7 +118,7 @@ public:
// FIXME: This should be taking an Optional<FlyString>
WebIDL::ExceptionOr<void> set_attribute_ns(Optional<String> const& namespace_, FlyString const& qualified_name, FlyString const& value);
void set_attribute_value(DeprecatedFlyString const& local_name, DeprecatedString const& value, DeprecatedFlyString const& prefix = {}, DeprecatedFlyString const& namespace_ = {});
void set_attribute_value(FlyString const& local_name, DeprecatedString const& value, Optional<FlyString> const& prefix = {}, DeprecatedFlyString const& namespace_ = {});
WebIDL::ExceptionOr<JS::GCPtr<Attr>> set_attribute_node(Attr&);
WebIDL::ExceptionOr<JS::GCPtr<Attr>> set_attribute_node_ns(Attr&);