LibWeb: Add NamedNodeMap::setNamedItemNS() method

This patch adds implementation of the missing `setNamedItemNS()` method.
This commit is contained in:
Alexander Narsudinov 2022-12-17 17:32:41 +03:00 committed by Andreas Kling
commit 45525d4f85
Notes: sideshowbarker 2024-07-17 03:04:06 +09:00
3 changed files with 8 additions and 1 deletions

View file

@ -38,6 +38,7 @@ public:
Attr const* get_named_item(StringView qualified_name) const;
Attr const* get_named_item_ns(StringView namespace_, StringView local_name) const;
WebIDL::ExceptionOr<Attr const*> set_named_item(Attr& attribute);
WebIDL::ExceptionOr<Attr const*> set_named_item_ns(Attr& attribute);
WebIDL::ExceptionOr<Attr const*> remove_named_item(StringView qualified_name);
WebIDL::ExceptionOr<Attr const*> remove_named_item_ns(StringView namespace_, StringView local_name);