mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Make factory method of DOM::NodeIterator fallible
This commit is contained in:
parent
0791195843
commit
d94b59263e
3 changed files with 4 additions and 4 deletions
|
@ -1947,7 +1947,7 @@ WebIDL::ExceptionOr<Document::PrefixAndTagName> Document::validate_qualified_nam
|
|||
// https://dom.spec.whatwg.org/#dom-document-createnodeiterator
|
||||
JS::NonnullGCPtr<NodeIterator> Document::create_node_iterator(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter> filter)
|
||||
{
|
||||
return NodeIterator::create(root, what_to_show, filter);
|
||||
return NodeIterator::create(root, what_to_show, filter).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-document-createtreewalker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue