mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>
s
This commit is contained in:
parent
f01d90aa63
commit
acfb546048
38 changed files with 153 additions and 149 deletions
|
@ -227,7 +227,7 @@ void DOMTokenList::set_value(String value)
|
|||
if (!associated_element)
|
||||
return;
|
||||
|
||||
associated_element->set_attribute(m_associated_attribute, move(value));
|
||||
MUST(associated_element->set_attribute(m_associated_attribute, move(value)));
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<void> DOMTokenList::validate_token(StringView token) const
|
||||
|
@ -251,7 +251,7 @@ void DOMTokenList::run_update_steps()
|
|||
return;
|
||||
|
||||
// 2. Set an attribute value for the associated element using associated attribute’s local name and the result of running the ordered set serializer for token set.
|
||||
associated_element->set_attribute(m_associated_attribute, value());
|
||||
MUST(associated_element->set_attribute(m_associated_attribute, value()));
|
||||
}
|
||||
|
||||
JS::Value DOMTokenList::item_value(size_t index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue