Bindings: Remove exception handling for named_item

We don't need this for any case, so just remove it to simplify handling
in PlatformObject.

(cherry picked from commit 081c92bf3dc66773887243718cf41011289ac55e)
This commit is contained in:
Shannon Booth
2024-07-25 15:45:46 +12:00
committed by Nico Weber
parent 91bca10aa3
commit 7bcb02822e
31 changed files with 32 additions and 33 deletions

View File

@@ -106,7 +106,7 @@ private:
virtual void visit_edges(Cell::Visitor&) override;
// ^PlatformObject
virtual WebIDL::ExceptionOr<JS::Value> item_value(size_t index) const override;
virtual JS::Value item_value(size_t index) const override;
virtual WebIDL::ExceptionOr<JS::Value> named_item_value(FlyString const& name) const override;
virtual Vector<FlyString> supported_property_names() const override;
virtual bool is_supported_property_index(u32) const override;