mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Make factory method of DOM::DOMTokenList fallible
This commit is contained in:
parent
1e03aa0ece
commit
251c063897
3 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ class DOMTokenList final : public Bindings::LegacyPlatformObject {
|
|||
WEB_PLATFORM_OBJECT(DOMTokenList, Bindings::LegacyPlatformObject);
|
||||
|
||||
public:
|
||||
static DOMTokenList* create(Element const& associated_element, DeprecatedFlyString associated_attribute);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMTokenList>> create(Element const& associated_element, DeprecatedFlyString associated_attribute);
|
||||
~DOMTokenList() = default;
|
||||
|
||||
void associated_attribute_changed(StringView value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue