mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
Bindings: Remove exception handling for named_item_value
This commit is contained in:
parent
081c92bf3d
commit
9b59dc5e8b
Notes:
github-actions[bot]
2024-07-26 12:27:24 +00:00
Author: https://github.com/shannonbooth
Commit: 9b59dc5e8b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/827
27 changed files with 29 additions and 32 deletions
|
@ -76,7 +76,7 @@ Variant<Empty, Element*, JS::Handle<RadioNodeList>> HTMLFormControlsCollection::
|
|||
}));
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::Value> HTMLFormControlsCollection::named_item_value(FlyString const& name) const
|
||||
JS::Value HTMLFormControlsCollection::named_item_value(FlyString const& name) const
|
||||
{
|
||||
return named_item_or_radio_node_list(name).visit(
|
||||
[](Empty) -> JS::Value { return JS::js_undefined(); },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue