mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibJS: Handle "receiver" argument in Reflect.{get,set}()
This commit is contained in:
parent
f08aa6324e
commit
afcfea2001
7 changed files with 60 additions and 17 deletions
|
@ -50,8 +50,8 @@ public:
|
|||
virtual Optional<PropertyDescriptor> get_own_property_descriptor(PropertyName) const override;
|
||||
virtual bool define_property(const FlyString& property_name, const Object& descriptor, bool throw_exceptions = true) override;
|
||||
virtual bool has_property(PropertyName name) const override;
|
||||
virtual Value get(PropertyName name) const override;
|
||||
virtual bool put(PropertyName name, Value value) override;
|
||||
virtual Value get(PropertyName name, Value receiver) const override;
|
||||
virtual bool put(PropertyName name, Value value, Value receiver) override;
|
||||
virtual Value delete_property(PropertyName name) override;
|
||||
|
||||
void revoke() { m_is_revoked = true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue