Bindings: Remove exception handling for named_item

We don't need this for any case, so just remove it to simplify handling
in PlatformObject.
This commit is contained in:
Shannon Booth
2024-07-25 15:45:46 +12:00
committed by Andreas Kling
parent 273593afba
commit 081c92bf3d
31 changed files with 32 additions and 33 deletions

View File

@@ -219,7 +219,7 @@ bool HTMLAllCollection::is_supported_property_index(u32 index) const
return index < collect_matching_elements().size();
}
WebIDL::ExceptionOr<JS::Value> HTMLAllCollection::item_value(size_t index) const
JS::Value HTMLAllCollection::item_value(size_t index) const
{
return get_the_all_indexed_element(index);
}