mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 15:28:55 +00:00
LibWeb: Make factory method of HTML::HTMLOptionsCollection fallible
This commit is contained in:
parent
b604bbaf29
commit
2b391ea622
Notes:
sideshowbarker
2024-07-17 07:43:05 +09:00
Author: https://github.com/kennethmyhra
Commit: 2b391ea622
Pull-request: https://github.com/SerenityOS/serenity/pull/17491
Reviewed-by: https://github.com/linusg ✅
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue