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
Userland/Libraries/LibWeb/HTML

View file

@ -83,7 +83,7 @@ HTMLButtonElement::TypeAttributeState HTMLButtonElement::type_state() const
void HTMLButtonElement::set_type(String const& type)
{
set_attribute(HTML::AttributeNames::type, type);
MUST(set_attribute(HTML::AttributeNames::type, type));
}
}