LibWeb: Make factory method of HTML::HTMLOptionsCollection fallible

This commit is contained in:
Kenneth Myhra 2023-02-15 19:22:16 +01:00 committed by Linus Groh
parent b604bbaf29
commit 2b391ea622
Notes: sideshowbarker 2024-07-17 07:43:05 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -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;
}