Bindings: Remove exception handling for named_item_value

This commit is contained in:
Shannon Booth 2024-07-25 17:36:10 +12:00 committed by Andreas Kling
commit 9b59dc5e8b
Notes: github-actions[bot] 2024-07-26 12:27:24 +00:00
27 changed files with 29 additions and 32 deletions

View file

@ -1635,7 +1635,7 @@ Vector<FlyString> Window::supported_property_names() const
}
// https://html.spec.whatwg.org/#named-access-on-the-window-object
WebIDL::ExceptionOr<JS::Value> Window::named_item_value(FlyString const& name) const
JS::Value Window::named_item_value(FlyString const& name) const
{
// FIXME: Make the const-correctness of the methods this method calls less cowboy.
auto& mutable_this = const_cast<Window&>(*this);