vm,src: add property query interceptors
src: remove unused ContextifyContext::WeakCallback
ContextifyContext::WeakCallback is unused.
vm,src: add property query interceptors
Distinguish named property and indexed property when enumerating keys and handle query interceptions.
Co-Authored-By: Michaël Zasso [email protected] Fixes: https://github.com/nodejs/node/issues/52720
Re-landing https://github.com/nodejs/node/pull/53172
/cc @nodejs/vm
CI: https://ci.nodejs.org/job/node-test-pull-request/59910/
CI: https://ci.nodejs.org/job/node-test-pull-request/59948/
CI: https://ci.nodejs.org/job/node-test-pull-request/60105/
@joyeecheung would you mind taking a look again? thanks!
CI: https://ci.nodejs.org/job/node-test-pull-request/60183/
Landed in 2b068ffc4a8bc4b2ef0fd46124d48e55af1231b8...c0962dc3bfd94409162fcb77a9da20bce98848c7
Label as https://github.com/nodejs/node/labels/dont-land-on-v20.x for breakage in https://github.com/nodejs/node/issues/54436.
Removed https://github.com/nodejs/node/labels/dont-land-on-v20.x since it is proved to be addressable in userland and can fix more compliance issues.