LibJS: Fix bogus target.[[OwnPropertyKeys]]() call in Proxy
This commit is contained in:
parent
34c28b981a
commit
598842c5b7
Notes:
sideshowbarker
2024-07-18 10:22:10 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/598842c5b77 Pull-request: https://github.com/SerenityOS/serenity/pull/8463 Reviewed-by: https://github.com/IdanHo ✅
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
|
||||
if (!trap) {
|
||||
// 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 »).
|
||||
|
|
Loading…
Add table
Reference in a new issue