mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 05:11:51 +00:00
LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>
s
This commit is contained in:
parent
f01d90aa63
commit
acfb546048
Notes:
sideshowbarker
2024-07-17 17:40:13 +09:00
Author: https://github.com/linusg
Commit: acfb546048
Pull-request: https://github.com/SerenityOS/serenity/pull/15862
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