mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb: Make factory method of DOM::LiveNodeList fallible
This commit is contained in:
parent
ff875d353b
commit
24d7e688fc
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue