mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +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:
committed by
Andreas Kling
parent
273593afba
commit
081c92bf3d
@@ -106,7 +106,7 @@ JS::GCPtr<Plugin> PluginArray::named_item(FlyString const& name) const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::Value> PluginArray::item_value(size_t index) const
|
||||
JS::Value PluginArray::item_value(size_t index) const
|
||||
{
|
||||
auto return_value = item(index);
|
||||
if (!return_value)
|
||||
|
||||
Reference in New Issue
Block a user