mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
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:
parent
273593afba
commit
081c92bf3d
Notes:
github-actions[bot]
2024-07-26 12:27:29 +00:00
Author: https://github.com/shannonbooth
Commit: 081c92bf3d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/827
31 changed files with 32 additions and 33 deletions
|
@ -66,7 +66,7 @@ bool DOMRectList::is_supported_property_index(u32 index) const
|
|||
return index < m_rects.size();
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::Value> DOMRectList::item_value(size_t index) const
|
||||
JS::Value DOMRectList::item_value(size_t index) const
|
||||
{
|
||||
if (index >= m_rects.size())
|
||||
return JS::js_undefined();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue