mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user