1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibWeb: Make factory method of DOM::LiveNodeList fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 22:55:51 +01:00 committed by Linus Groh
parent ff875d353b
commit 24d7e688fc
3 changed files with 4 additions and 4 deletions

View file

@ -890,7 +890,7 @@ JS::NonnullGCPtr<NodeList> Node::child_nodes()
if (!m_child_nodes) {
m_child_nodes = LiveNodeList::create(realm(), *this, [this](auto& node) {
return is_parent_of(node);
});
}).release_value_but_fixme_should_propagate_errors();
}
return *m_child_nodes;
}