mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03: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: https://github.com/SerenityOS/serenity/commit/598842c5b77 Pull-request: https://github.com/SerenityOS/serenity/pull/8463 Reviewed-by: https://github.com/IdanHo ✅
@ -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…
Reference in New Issue
Block a user