mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
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. |
||
---|---|---|
.. | ||
for-in-iteration-traps.js | ||
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 |