mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
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: 598842c5b7
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
Add a link
Reference in a new issue