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:
parent
f01d90aa63
commit
acfb546048
38 changed files with 153 additions and 149 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue