ladybird/Libraries/LibJS/Tests/builtins/Proxy
Andreas Kling 357eeba49c LibJS: Reduce number of proxy traps called during for..in iteration
Before this change, we would enumerate all the keys with
[[OwnPropertyKeys]], and then do [[GetOwnPropertyDescriptor]] twice for
each key as we went through them.

We now only do one [[GetOwnPropertyDescriptor]] per key, which
drastically reduces the number of proxy traps when those are involved.
The new trap sequence matches what you get with V8, so I don't think
anyone will be unpleasantly surprised here.
2025-03-20 17:50:02 -05:00
..
for-in-iteration-traps.js LibJS: Reduce number of proxy traps called during for..in iteration 2025-03-20 17:50:02 -05:00
iterate-over-proxy.js
Proxy.handler-apply.js
Proxy.handler-construct.js
Proxy.handler-defineProperty.js
Proxy.handler-deleteProperty.js
Proxy.handler-get.js
Proxy.handler-getOwnPropertyDescriptor.js
Proxy.handler-getPrototypeOf.js
Proxy.handler-has.js
Proxy.handler-isExtensible.js
Proxy.handler-ownKeys.js
Proxy.handler-preventExtensions.js
Proxy.handler-set.js
Proxy.handler-setPrototypeOf.js
Proxy.js
Proxy.revocable.js