mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibJS: Convert internal_get_own_property() to ThrowCompletionOr
This commit is contained in:
parent
73bae7d779
commit
0e69a6e487
19 changed files with 100 additions and 166 deletions
|
@ -95,7 +95,7 @@ public:
|
|||
virtual ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype);
|
||||
virtual ThrowCompletionOr<bool> internal_is_extensible() const;
|
||||
virtual ThrowCompletionOr<bool> internal_prevent_extensions();
|
||||
virtual Optional<PropertyDescriptor> internal_get_own_property(PropertyName const&) const;
|
||||
virtual ThrowCompletionOr<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;
|
||||
virtual Value internal_get(PropertyName const&, Value receiver) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue