node/deps/v8/test/cctest
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
..
compiler deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
heap deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
torque
wasm deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
BUILD.gn deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
cctest-utils.h
cctest.cc
cctest.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
cctest.status deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
collector.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
DEPS
expression-type-collector-macros.h
feedback-vector-helper.h
jsonstream-helper.h
manually-externalized-buffer.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
OWNERS
print-extension.cc
print-extension.h
profiler-extension.cc
profiler-extension.h
setup-isolate-for-tests.cc
setup-isolate-for-tests.h
test-accessor-assembler.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-accessors.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-allocation.cc
test-api-array-buffer.cc deps: V8: add CopyArrayBufferBytes API 2026-06-12 23:26:18 +00:00
test-api-incumbent.cc
test-api-interceptors.cc deps: V8: backport 088b7112e7ab 2026-04-24 18:01:33 +02:00
test-api-stack-traces.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-api-typed-array.cc
test-api.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-api.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-code-stub-assembler.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-constantpool.cc
test-cpu-profiler.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-debug-helper.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-debug.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-descriptor-array.cc
test-disasm-regex-helper.cc
test-disasm-regex-helper.h
test-field-type-tracking.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-func-name-inference.cc
test-fuzz-arm64.cc
test-heap-profiler.cc deps: V8: cherry-pick 0f024d4e66e0 2026-04-28 10:15:47 -04:00
test-icache.cc
test-ignition-statistics-extension.cc
test-inobject-slack-tracking.cc
test-javascript-arm64.cc
test-js-arm64-variables.cc
test-js-to-wasm.cc
test-js-weak-refs.cc
test-liveedit.cc
test-lockers.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-log-stack-tracer.cc
test-mementos.cc
test-orderedhashtable.cc
test-profile-generator.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-ptr-compr-cage.cc
test-random-number-generator.cc
test-regexp.cc
test-sampler-api.cc
test-serialize.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-shared-strings.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-smi-lexicographic-compare.cc
test-stack-unwinding-win64.cc
test-strings.cc build,test: test array index hash collision 2026-04-24 18:01:34 +02:00
test-swiss-name-dictionary-csa.cc
test-swiss-name-dictionary-infra.cc
test-swiss-name-dictionary-infra.h
test-swiss-name-dictionary-shared-tests.h
test-swiss-name-dictionary.cc
test-sync-primitives-arm64.cc
test-trace-event.cc
test-transitions.cc deps: V8: cherry-pick 00f6e834029f 2026-04-24 18:01:33 +02:00
test-transitions.h
test-typedarrays.cc
test-unscopables-hidden-prototype.cc
test-unwinder-code-pages.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-usecounters.cc
test-utils.cc
test-v8windbg.cc
test-verifiers.cc
testcfg.py
trace-extension.cc
trace-extension.h