Bindings: Remove exception handling for named_item_value

This commit is contained in:
Shannon Booth
2024-07-25 17:36:10 +12:00
committed by Andreas Kling
parent 081c92bf3d
commit 9b59dc5e8b
27 changed files with 29 additions and 32 deletions

View File

@@ -177,7 +177,7 @@ JS::Value HTMLCollection::item_value(size_t index) const
return element;
}
WebIDL::ExceptionOr<JS::Value> HTMLCollection::named_item_value(FlyString const& name) const
JS::Value HTMLCollection::named_item_value(FlyString const& name) const
{
auto* element = named_item(name);
if (!element)