node/test/js-native-api
Chengzhong Wu ecd081df82
node-api: add nested object wrap and napi_ref test
Test that an napi_ref can be nested inside another ObjectWrap. The test
shows a critical case where a finalizer deletes an `napi_ref` whose
finalizer is also scheduled.

PR-URL: https://github.com/nodejs/node/pull/57981
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2025-05-02 17:06:46 -03:00
..
2_function_arguments
3_callbacks
4_object_factory
5_function_factory
6_object_wrap node-api: add nested object wrap and napi_ref test 2025-05-02 17:06:46 -03:00
7_factory_wrap test: merge ongc and gcutil into gc.js 2024-08-29 08:49:52 +01:00
8_passing_wrapped test: merge ongc and gcutil into gc.js 2024-08-29 08:49:52 +01:00
test_array
test_bigint
test_cannot_run_js node-api: define version 10 2024-12-31 16:29:50 +00:00
test_constructor
test_conversions
test_dataview
test_date
test_error
test_exception
test_finalizer test: merge ongc and gcutil into gc.js 2024-08-29 08:49:52 +01:00
test_function test: fix typos 2024-09-28 13:58:55 +00:00
test_general node-api: define version 10 2024-12-31 16:29:50 +00:00
test_handle_scope
test_instance_data
test_new_target
test_number
test_object test: fix typos 2024-09-28 13:58:55 +00:00
test_promise
test_properties
test_reference test: fix typos 2024-09-28 13:58:55 +00:00
test_reference_double_free
test_string node-api: define version 10 2024-12-31 16:29:50 +00:00
test_symbol
test_typedarray
.gitignore
common-inl.h
common.h
entry_point.h
testcfg.py