diff --git a/Libraries/LibWeb/HTML/HTMLLIElement.h b/Libraries/LibWeb/HTML/HTMLLIElement.h index 362b162dcdc..44c026745c6 100644 --- a/Libraries/LibWeb/HTML/HTMLLIElement.h +++ b/Libraries/LibWeb/HTML/HTMLLIElement.h @@ -38,7 +38,7 @@ public: WebIDL::Long value(); void set_value(WebIDL::Long value) { - set_attribute(AttributeNames::value, String::number(value)).release_value_but_fixme_should_propagate_errors(); + MUST(set_attribute(AttributeNames::value, String::number(value))); } private: diff --git a/Libraries/LibWeb/HTML/HTMLOListElement.h b/Libraries/LibWeb/HTML/HTMLOListElement.h index a89a25308c3..478d91168e1 100644 --- a/Libraries/LibWeb/HTML/HTMLOListElement.h +++ b/Libraries/LibWeb/HTML/HTMLOListElement.h @@ -25,7 +25,7 @@ public: WebIDL::Long start(); void set_start(WebIDL::Long start) { - set_attribute(AttributeNames::start, String::number(start)).release_value_but_fixme_should_propagate_errors(); + MUST(set_attribute(AttributeNames::start, String::number(start))); } private: diff --git a/Libraries/LibWeb/HTML/HTMLSummaryElement.cpp b/Libraries/LibWeb/HTML/HTMLSummaryElement.cpp index 436e07abffc..8a9ec0ecc15 100644 --- a/Libraries/LibWeb/HTML/HTMLSummaryElement.cpp +++ b/Libraries/LibWeb/HTML/HTMLSummaryElement.cpp @@ -37,7 +37,7 @@ void HTMLSummaryElement::activation_behavior(DOM::Event const&) if (parent->has_attribute(HTML::AttributeNames::open)) parent->remove_attribute(HTML::AttributeNames::open); else - parent->set_attribute(HTML::AttributeNames::open, String {}).release_value_but_fixme_should_propagate_errors(); + MUST(parent->set_attribute(HTML::AttributeNames::open, String {})); } // https://html.spec.whatwg.org/multipage/interactive-elements.html#summary-for-its-parent-details