mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:57:46 +00:00
LibJS: Convert internal_is_extensible() to ThrowCompletionOr
This commit is contained in:
parent
8c81c84c18
commit
9b4362f10a
9 changed files with 18 additions and 22 deletions
|
@ -47,7 +47,7 @@ JS::ThrowCompletionOr<bool> ConsoleGlobalObject::internal_set_prototype_of(JS::O
|
|||
return m_window_object->internal_set_prototype_of(prototype);
|
||||
}
|
||||
|
||||
bool ConsoleGlobalObject::internal_is_extensible() const
|
||||
JS::ThrowCompletionOr<bool> ConsoleGlobalObject::internal_is_extensible() const
|
||||
{
|
||||
return m_window_object->internal_is_extensible();
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
virtual JS::ThrowCompletionOr<Object*> internal_get_prototype_of() const override;
|
||||
virtual JS::ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override;
|
||||
virtual bool internal_is_extensible() const override;
|
||||
virtual JS::ThrowCompletionOr<bool> internal_is_extensible() const override;
|
||||
virtual bool internal_prevent_extensions() override;
|
||||
virtual Optional<JS::PropertyDescriptor> internal_get_own_property(JS::PropertyName const& name) const override;
|
||||
virtual bool internal_define_own_property(JS::PropertyName const& name, JS::PropertyDescriptor const& descriptor) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue