mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibJS: Convert internal_prevent_extensions() to ThrowCompletionOr
This commit is contained in:
parent
9b4362f10a
commit
73bae7d779
12 changed files with 22 additions and 30 deletions
|
@ -94,7 +94,7 @@ public:
|
|||
virtual ThrowCompletionOr<Object*> internal_get_prototype_of() const;
|
||||
virtual ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype);
|
||||
virtual ThrowCompletionOr<bool> internal_is_extensible() const;
|
||||
virtual bool internal_prevent_extensions();
|
||||
virtual ThrowCompletionOr<bool> internal_prevent_extensions();
|
||||
virtual Optional<PropertyDescriptor> internal_get_own_property(PropertyName const&) const;
|
||||
virtual bool internal_define_own_property(PropertyName const&, PropertyDescriptor const&);
|
||||
virtual bool internal_has_property(PropertyName const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue