@@ -40,37 +40,37 @@ Tests covering the engine-specific part of Node-API, defined in `js_native_api.h
4040
4141| Directory | Status | Difficulty |
4242| ---------------------------- | ---------- | ---------- |
43- | ` 2_function_arguments ` | Ported | — |
44- | ` 3_callbacks ` | Ported | Easy |
45- | ` 4_object_factory ` | Ported | Easy |
46- | ` 5_function_factory ` | Ported | Easy |
43+ | ` 2_function_arguments ` | Ported ✅ | — |
44+ | ` 3_callbacks ` | Ported ✅ | Easy |
45+ | ` 4_object_factory ` | Ported ✅ | Easy |
46+ | ` 5_function_factory ` | Ported ✅ | Easy |
4747| ` 6_object_wrap ` | Not ported | Medium |
48- | ` 7_factory_wrap ` | Ported | Easy |
49- | ` 8_passing_wrapped ` | Ported | Easy |
50- | ` test_array ` | Ported | Easy |
51- | ` test_bigint ` | Ported | Easy |
48+ | ` 7_factory_wrap ` | Ported ✅ | Easy |
49+ | ` 8_passing_wrapped ` | Ported ✅ | Easy |
50+ | ` test_array ` | Ported ✅ | Easy |
51+ | ` test_bigint ` | Ported ✅ | Easy |
5252| ` test_cannot_run_js ` | Not ported | Medium |
5353| ` test_constructor ` | Not ported | Medium |
5454| ` test_conversions ` | Not ported | Medium |
5555| ` test_dataview ` | Partial | Easy |
56- | ` test_date ` | Ported | Easy |
56+ | ` test_date ` | Ported ✅ | Easy |
5757| ` test_error ` | Not ported | Medium |
5858| ` test_exception ` | Not ported | Medium |
5959| ` test_finalizer ` | Not ported | Medium |
6060| ` test_function ` | Not ported | Medium |
6161| ` test_general ` | Not ported | Hard |
62- | ` test_handle_scope ` | Ported | Easy |
63- | ` test_instance_data ` | Ported | Easy |
64- | ` test_new_target ` | Ported | Easy |
65- | ` test_number ` | Ported | Easy |
62+ | ` test_handle_scope ` | Ported ✅ | Easy |
63+ | ` test_instance_data ` | Ported ✅ | Easy |
64+ | ` test_new_target ` | Ported ✅ | Easy |
65+ | ` test_number ` | Ported ✅ | Easy |
6666| ` test_object ` | Not ported | Hard |
67- | ` test_promise ` | Ported | Easy |
68- | ` test_properties ` | Ported | Easy |
67+ | ` test_promise ` | Ported ✅ | Easy |
68+ | ` test_properties ` | Ported ✅ | Easy |
6969| ` test_reference ` | Not ported | Medium |
70- | ` test_reference_double_free ` | Ported | Easy |
70+ | ` test_reference_double_free ` | Ported ✅ | Easy |
7171| ` test_sharedarraybuffer ` | Not ported | Medium |
7272| ` test_string ` | Not ported | Medium |
73- | ` test_symbol ` | Ported | Easy |
73+ | ` test_symbol ` | Ported ✅ | Easy |
7474| ` test_typedarray ` | Not ported | Medium |
7575
7676## Runtime-specific (` node-api ` )
@@ -116,12 +116,12 @@ When `NAPI_EXPERIMENTAL` is defined in Node.js, `NAPI_VERSION` is set to
116116` NAPI_VERSION_EXPERIMENTAL (2147483647) ` . The ` NAPI_MODULE ` macro exports this version, and the
117117runtime uses it to decide whether to enable experimental behavior for that addon.
118118
119- | Feature macro | APIs | Used by |
120- | ---| ---| ---|
121- | ` NODE_API_EXPERIMENTAL_HAS_SHAREDARRAYBUFFER ` | ` node_api_is_sharedarraybuffer ` , ` node_api_create_sharedarraybuffer ` | ` test_dataview ` , ` test_sharedarraybuffer ` |
122- | ` NODE_API_EXPERIMENTAL_HAS_CREATE_OBJECT_WITH_PROPERTIES ` | ` node_api_create_object_with_properties ` | ` test_object ` |
123- | ` NODE_API_EXPERIMENTAL_HAS_SET_PROTOTYPE ` | ` node_api_set_prototype ` | ` test_general ` |
124- | ` NODE_API_EXPERIMENTAL_HAS_POST_FINALIZER ` | ` node_api_post_finalizer ` | ` test_general ` , ` test_finalizer ` , ` 6_object_wrap ` |
119+ | Feature macro | APIs | Used by |
120+ | --------------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------- |
121+ | ` NODE_API_EXPERIMENTAL_HAS_SHAREDARRAYBUFFER ` | ` node_api_is_sharedarraybuffer ` , ` node_api_create_sharedarraybuffer ` | ` test_dataview ` , ` test_sharedarraybuffer ` |
122+ | ` NODE_API_EXPERIMENTAL_HAS_CREATE_OBJECT_WITH_PROPERTIES ` | ` node_api_create_object_with_properties ` | ` test_object ` |
123+ | ` NODE_API_EXPERIMENTAL_HAS_SET_PROTOTYPE ` | ` node_api_set_prototype ` | ` test_general ` |
124+ | ` NODE_API_EXPERIMENTAL_HAS_POST_FINALIZER ` | ` node_api_post_finalizer ` | ` test_general ` , ` test_finalizer ` , ` 6_object_wrap ` |
125125
126126Tests that depend on these APIs are currently ported without the experimental test cases (marked
127127as "Partial" in the status column) or not ported at all. To fully support them, the CTS will need:
0 commit comments