node/test/cctest
Joyee Cheung b68fa59960
src: use effective cppgc wrapper id to deduce non-cppgc id
Previously we hard-code a wrapper id to be used in BaseObjects
to avoid accidentally triggering cppgc on these non-cppgc-managed
objects, but hard-coding can be be hacky and result in mismatch
when we start to create CppHeap ourselves. This patch makes it
more robust by deducing non-cppgc id from the effective cppgc id,
if there is one.

PR-URL: https://github.com/nodejs/node/pull/48660
Refs: 9327503128
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
2023-07-21 16:44:23 +02:00
..
node_test_fixture.cc src: use effective cppgc wrapper id to deduce non-cppgc id 2023-07-21 16:44:23 +02:00
node_test_fixture.h test: make IsolateData per-isolate in cctest 2023-06-25 05:41:19 +00:00
test_aliased_buffer.cc src: move AliasedBuffer implementation to -inl.h 2023-03-01 17:45:02 +01:00
test_base64.cc
test_base_object_ptr.cc
test_cppgc.cc src: use effective cppgc wrapper id to deduce non-cppgc id 2023-07-21 16:44:23 +02:00
test_crypto_clienthello.cc
test_dataqueue.cc src, lib: fixup lint and format issues for DataQueue/Blob 2023-02-19 16:26:59 -08:00
test_environment.cc bootstrap: hide experimental web globals with flag kNoBrowserGlobals 2023-07-05 07:02:59 +00:00
test_inspector_socket_server.cc
test_inspector_socket.cc src: prefer data accessor of string and vector 2023-05-03 14:09:23 +00:00
test_json_utils.cc
test_linked_binding.cc test: define NAPI_VERSION before including node_api.h 2023-06-24 17:04:08 +00:00
test_node_api.cc test: make IsolateData per-isolate in cctest 2023-06-25 05:41:19 +00:00
test_node_crypto_env.cc crypto: use openssl's own memory BIOs in crypto_context.cc 2023-05-18 16:28:44 +00:00
test_node_crypto.cc
test_node_postmortem_metadata.cc
test_per_process.cc src: make BuiltinLoader threadsafe and non-global 2023-01-18 22:03:00 +00:00
test_platform.cc
test_quic_cid.cc quic: add multiple internal utilities 2023-03-28 17:15:59 -07:00
test_quic_tokens.cc quic: add additional quic implementation utilities 2023-03-31 09:58:37 -07:00
test_report.cc test: make IsolateData per-isolate in cctest 2023-06-25 05:41:19 +00:00
test_sockaddr.cc
test_traced_value.cc
test_util.cc src: fix endianness of simdutf 2023-01-18 23:50:35 +00:00