mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
Bindings: Remove exception handling for named_item_value
This commit is contained in:
parent
081c92bf3d
commit
9b59dc5e8b
Notes:
github-actions[bot]
2024-07-26 12:27:24 +00:00
Author: https://github.com/shannonbooth
Commit: 9b59dc5e8b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/827
27 changed files with 29 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue