mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb: Make factory method of DOM::NodeIterator fallible
This commit is contained in:
committed by
Linus Groh
parent
0791195843
commit
d94b59263e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user