1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

LibWeb: Make serializing Supports rules infallible

This commit is contained in:
Sam Atkins 2023-08-22 12:47:38 +01:00 committed by Sam Atkins
parent 91114c157b
commit 846c719e49
3 changed files with 22 additions and 22 deletions

View file

@ -30,7 +30,7 @@ void CSSSupportsRule::initialize(JS::Realm& realm)
DeprecatedString CSSSupportsRule::condition_text() const
{
return m_supports->to_string().release_value_but_fixme_should_propagate_errors().to_deprecated_string();
return m_supports->to_string().to_deprecated_string();
}
void CSSSupportsRule::set_condition_text(DeprecatedString text)