1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:37:46 +00:00

LibJS: Make Object::ordinary_set_with_own_descriptor non-static

This needs to be accessible for implementing IDL legacy platform
objects.
This commit is contained in:
Luke Wilde 2021-09-24 19:39:01 +01:00 committed by Andreas Kling
parent 27dfd0170e
commit e06762f312
2 changed files with 6 additions and 6 deletions

View file

@ -102,6 +102,8 @@ public:
virtual bool internal_delete(PropertyName const&);
virtual MarkedValueList internal_own_property_keys() const;
bool ordinary_set_with_own_descriptor(PropertyName const&, Value, Value, Optional<PropertyDescriptor>);
// 10.4.7 Immutable Prototype Exotic Objects, https://tc39.es/ecma262/#sec-immutable-prototype-exotic-objects
bool set_immutable_prototype(Object* prototype);