mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibWeb: Make factory method of HTML::HTMLOptionsCollection fallible
This commit is contained in:
committed by
Linus Groh
parent
b604bbaf29
commit
2b391ea622
@@ -44,7 +44,7 @@ JS::GCPtr<HTMLOptionsCollection> const& HTMLSelectElement::options()
|
||||
// the select element, and all the option element children of all the optgroup element children
|
||||
// of the select element, in tree order.
|
||||
return is<HTMLOptionElement>(element);
|
||||
});
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
return m_options;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user