1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 10:54:57 +00:00

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
38 changed files with 153 additions and 149 deletions

View file

@ -67,7 +67,7 @@ void HTMLProgressElement::set_value(double value)
if (value < 0)
return;
set_attribute(HTML::AttributeNames::value, String::number(value));
MUST(set_attribute(HTML::AttributeNames::value, String::number(value)));
progress_position_updated();
}
@ -93,7 +93,7 @@ void HTMLProgressElement::set_max(double value)
if (value <= 0)
return;
set_attribute(HTML::AttributeNames::max, String::number(value));
MUST(set_attribute(HTML::AttributeNames::max, String::number(value)));
progress_position_updated();
}