mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
LibJS: Stop inheriting from Set in SetPrototype
This makes sure that is<Set> checks done on the Set prototype instead of on Set instances return false, thereby emulating the behaviour of the RequireInternalSlot abstract operation.
This commit is contained in:
parent
5d57384bc4
commit
f437793788
4 changed files with 18 additions and 18 deletions
|
@ -41,8 +41,6 @@ public:
|
|||
explicit Set(Object& prototype);
|
||||
virtual ~Set() override;
|
||||
|
||||
static Set* typed_this(VM&, GlobalObject&);
|
||||
|
||||
HashTable<Value, ValueTraits> const& values() const { return m_values; };
|
||||
HashTable<Value, ValueTraits>& values() { return m_values; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue