node/test/js-native-api
Chengzhong Wu 91e373f8e9
node-api: return napi_exception_pending on proxy handlers
Accessing JS objects can be trapped with proxy handlers. These
handlers can throw when no node-api errors occur. In such cases,
`napi_pending_exception` should be returned.

PR-URL: https://github.com/nodejs/node/pull/48607
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-10-24 09:41:05 +02:00
..
2_function_arguments test: avoid copying test source files 2023-09-10 06:11:36 +00:00
3_callbacks test: avoid copying test source files 2023-09-10 06:11:36 +00:00
4_object_factory test: avoid copying test source files 2023-09-10 06:11:36 +00:00
5_function_factory test: avoid copying test source files 2023-09-10 06:11:36 +00:00
6_object_wrap test: avoid copying test source files 2023-09-10 06:11:36 +00:00
7_factory_wrap test: avoid copying test source files 2023-09-10 06:11:36 +00:00
8_passing_wrapped test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_array test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_bigint test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_cannot_run_js test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_constructor test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_conversions test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_dataview test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_date test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_error test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_exception test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_finalizer node-api: run finalizers directly from GC 2023-10-03 10:06:01 -04:00
test_function test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_general test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_handle_scope test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_instance_data test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_new_target test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_number test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_object node-api: return napi_exception_pending on proxy handlers 2023-10-24 09:41:05 +02:00
test_promise test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_properties test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_reference node-api: enable uncaught exceptions policy by default 2023-09-25 04:23:58 +00:00
test_reference_double_free test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_string test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_symbol test: avoid copying test source files 2023-09-10 06:11:36 +00:00
test_typedarray test: avoid copying test source files 2023-09-10 06:11:36 +00:00
.gitignore Revert "test: ignore the copied entry_point.c" 2023-09-10 06:11:37 +00:00
common-inl.h node-api: return napi_exception_pending on proxy handlers 2023-10-24 09:41:05 +02:00
common.h test: avoid copying test source files 2023-09-10 06:11:36 +00:00
entry_point.h test: avoid copying test source files 2023-09-10 06:11:36 +00:00
testcfg.py