LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s

This commit is contained in:
Linus Groh 2022-10-30 17:50:04 +00:00
parent f01d90aa63
commit acfb546048
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00
38 changed files with 153 additions and 149 deletions

View file

@ -144,7 +144,7 @@ WebIDL::ExceptionOr<void> DOMStringMap::set_value_of_new_named_property(String c
// FIXME: 4. If name does not match the XML Name production, throw an "InvalidCharacterError" DOMException.
// 5. Set an attribute value for the DOMStringMap's associated element using name and value.
m_associated_element->set_attribute(data_name, value);
MUST(m_associated_element->set_attribute(data_name, value));
return {};
}