b2892b5f24
This adds a new [[WeakRefTarget]] internal property to `Runtime.getProperties` results for `JSWeakRef` results (also included in the preview), which will be used by DevTools to show the target of the weak reference without having to explicitly call `deref()` on them. As part of this we also have (temporary) strong references to the target, slightly changing behavior, but that's consistent with how DevTools deals with `JSWeakMap` and `JSWeakSet`. Bug: chromium:1267690 Change-Id: I2a9ef9261996fcdee20fbd0fc728d11208c82459 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3970598 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/main@{#83844} |
||
---|---|---|
.. | ||
benchmarks | ||
bigint | ||
cctest | ||
common | ||
debugger | ||
debugging | ||
fuzzer | ||
fuzzilli | ||
inspector | ||
intl | ||
js-perf-test | ||
memory | ||
message | ||
mjsunit | ||
mkgrokdump | ||
mozilla | ||
test262 | ||
torque | ||
unittests | ||
wasm-api-tests | ||
wasm-js | ||
wasm-spec-tests | ||
webkit | ||
BUILD.gn | ||
OWNERS |