mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:37:35 +00:00
LibJS: Fix bogus target.[[OwnPropertyKeys]]() call in Proxy
This commit is contained in:
parent
34c28b981a
commit
598842c5b7
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ MarkedValueList ProxyObject::internal_own_property_keys() const
|
||||||
// 6. If trap is undefined, then
|
// 6. If trap is undefined, then
|
||||||
if (!trap) {
|
if (!trap) {
|
||||||
// a. Return ? target.[[OwnPropertyKeys]]().
|
// a. Return ? target.[[OwnPropertyKeys]]().
|
||||||
return Object::internal_own_property_keys();
|
return m_target.internal_own_property_keys();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 7. Let trapResultArray be ? Call(trap, handler, « target »).
|
// 7. Let trapResultArray be ? Call(trap, handler, « target »).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue