mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
LibWeb: Make factory method of DOM::NamedNodeMap fallible
This commit is contained in:
parent
ce18dfc417
commit
e3e281addd
3 changed files with 7 additions and 4 deletions
|
@ -22,7 +22,7 @@ class NamedNodeMap : public Bindings::LegacyPlatformObject {
|
|||
WEB_PLATFORM_OBJECT(NamedNodeMap, Bindings::LegacyPlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<NamedNodeMap> create(Element&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<NamedNodeMap>> create(Element&);
|
||||
~NamedNodeMap() = default;
|
||||
|
||||
virtual bool is_supported_property_index(u32 index) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue