Commit 17316b7
committed
Tests: enable the v5-clean reference double-free conformance test
Adds test_reference_double_free (js-native-api) to the enabled suite -- a real v5 reference/double-free
test, green on macOS (system JSC, including ASan) and Android (V8). Its test_wrap.js is quarantined via
a known-failing allow-list in test_main.cpp: JSC napi_remove_wrap on an unwrapped object returns
napi_invalid_arg (the consecutive remove_wrap+delete_reference path itself does not crash); tracked as a
separate JSC fix.
The rest of the reference/finalizer/wrap suite (test_reference, test_finalizer, 6_object_wrap) targets
newer Node-API -- node_api_symbol_for (v9), napi_get_instance_data (v6),
node_api_basic_env / node_api_post_finalizer (v9) -- and is documented for the staged NAPI_VERSION bump.1 parent e94c72e commit 17316b7
3 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
63 | 78 | | |
64 | 79 | | |
65 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments