mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
LibWeb: Make serializing media-queries infallible
This commit is contained in:
parent
2754c16e97
commit
afa27bad19
Notes:
sideshowbarker
2024-07-16 23:05:02 +09:00
Author: https://github.com/AtkinsSJ
Commit: afa27bad19
Pull-request: https://github.com/SerenityOS/serenity/pull/20709
4 changed files with 34 additions and 34 deletions
|
@ -43,7 +43,7 @@ void MediaQueryList::visit_edges(Cell::Visitor& visitor)
|
|||
// https://drafts.csswg.org/cssom-view/#dom-mediaquerylist-media
|
||||
DeprecatedString MediaQueryList::media() const
|
||||
{
|
||||
return serialize_a_media_query_list(m_media).release_value_but_fixme_should_propagate_errors().to_deprecated_string();
|
||||
return serialize_a_media_query_list(m_media).to_deprecated_string();
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-mediaquerylist-matches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue