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
commit 081c92bf3d
Notes: github-actions[bot] 2024-07-26 12:27:29 +00:00
31 changed files with 32 additions and 33 deletions

View file

@ -227,7 +227,7 @@ bool CSSRuleList::evaluate_media_queries(HTML::Window const& window)
return any_media_queries_changed_match_state;
}
WebIDL::ExceptionOr<JS::Value> CSSRuleList::item_value(size_t index) const
JS::Value CSSRuleList::item_value(size_t index) const
{
return item(index);
}