summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-05 17:22:28 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-05 18:19:45 +0100
commit598842c5b77361525fe31e159572a8084c6c40e7 (patch)
tree68b8918cd3ecfd8e7b99c26b6220f76182e8fda8 /Userland/Libraries/LibJS/Runtime
parent34c28b981afb19f7be9d16268ff0f3730a806b56 (diff)
downloadserenity-598842c5b77361525fe31e159572a8084c6c40e7.zip
LibJS: Fix bogus target.[[OwnPropertyKeys]]() call in Proxy
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ProxyObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp b/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp
index c0811a5e20..7ff6118264 100644
--- a/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp
+++ b/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp
@@ -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 ยป).