LibWeb/DOM: Remove uneccessary ExceptionOr for NodeIterator::create

This commit is contained in:
Shannon Booth 2025-01-10 16:12:34 +13:00 committed by Sam Atkins
commit 1f4c7ac62b
Notes: github-actions[bot] 2025-01-10 08:09:47 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -3336,7 +3336,7 @@ WebIDL::ExceptionOr<Document::PrefixAndTagName> Document::validate_qualified_nam
// https://dom.spec.whatwg.org/#dom-document-createnodeiterator
GC::Ref<NodeIterator> Document::create_node_iterator(Node& root, unsigned what_to_show, GC::Ptr<NodeFilter> filter)
{
return NodeIterator::create(realm(), root, what_to_show, filter).release_value_but_fixme_should_propagate_errors();
return NodeIterator::create(realm(), root, what_to_show, filter);
}
// https://dom.spec.whatwg.org/#dom-document-createtreewalker