node/deps/v8/test
Robert Nagy d66c3a6c0f deps: V8: add CopyArrayBufferBytes API
Add v8::ArrayBuffer::CopyArrayBufferBytes and
v8::SharedArrayBuffer::CopyArrayBufferBytes, which copy a byte range
from one backing store to another. V8 clamps the byte range and handles
detached and immutable buffers: nothing is copied when the source is
detached or the target is detached or immutable, and the number of bytes
actually copied is returned. The SharedArrayBuffer overload uses a
relaxed-atomic memmove that honors the SharedArrayBuffer memory model.

Carried as a floating patch cherry-picked from:

    https://chromium-review.googlesource.com/c/v8/v8/+/7735151

That CL is authored by a Node.js collaborator (Ben Noordhuis) and is
expected to land upstream, so the floating patch should be easy to
maintain: it touches nothing but the public ArrayBuffer API and can be
dropped wholesale on the next V8 upgrade that includes it.
v8_embedder_string is bumped to -node.21 accordingly.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7735151
Signed-off-by: Robert Nagy <ronagy@icloud.com>
PR-URL: https://github.com/nodejs/node/pull/63828
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
2026-06-12 23:26:18 +00:00
..
benchmarks deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
bigint deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
cctest deps: V8: add CopyArrayBufferBytes API 2026-06-12 23:26:18 +00:00
common deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
debugger deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
debugging deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
filecheck deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
fuzzer deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
fuzzilli
inspector deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
intl deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
js-perf-test deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
memory
message deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
mjsunit deps: V8: cherry-pick 435a2cdf664c 2026-05-12 15:48:18 +00:00
mkgrokdump deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
mozilla deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
test262 deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
torque deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
unittests deps: V8: backport bef0d9c1bc90 2026-04-24 18:01:32 +02:00
wasm-api-tests deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
wasm-js deps: V8: cherry-pick 435a2cdf664c 2026-05-12 15:48:18 +00:00
wasm-spec-tests deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
webkit deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
BUILD.gn deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
OWNERS