mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
LibWeb: Port CSS::MediaQuery to new Strings
This commit is contained in:
parent
a381ce9519
commit
a0b1eddc56
4 changed files with 7 additions and 10 deletions
|
@ -34,7 +34,7 @@ JS::ThrowCompletionOr<void> MediaList::initialize(JS::Realm& realm)
|
|||
// https://www.w3.org/TR/cssom-1/#dom-medialist-mediatext
|
||||
DeprecatedString MediaList::media_text() const
|
||||
{
|
||||
return serialize_a_media_query_list(m_media);
|
||||
return serialize_a_media_query_list(m_media).release_value_but_fixme_should_propagate_errors().to_deprecated_string();
|
||||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom-1/#dom-medialist-mediatext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue