mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-26 09:35:46 +00:00
Bindings: Remove exception handling for named_item_value
This commit is contained in:
committed by
Andreas Kling
parent
081c92bf3d
commit
9b59dc5e8b
@@ -224,7 +224,7 @@ JS::Value HTMLAllCollection::item_value(size_t index) const
|
||||
return get_the_all_indexed_element(index);
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::Value> HTMLAllCollection::named_item_value(FlyString const& name) const
|
||||
JS::Value HTMLAllCollection::named_item_value(FlyString const& name) const
|
||||
{
|
||||
return named_item(name).visit(
|
||||
[](Empty) -> JS::Value { return JS::js_undefined(); },
|
||||
|
||||
Reference in New Issue
Block a user