node/test/js-native-api/test_cannot_run_js
Gabriel Schulhof 19fa9f1bc4 node-api: add status napi_cannot_run_js
Add the new status in order to distinguish a state wherein an exception
is pending from one wherein the engine is unable to execute JS. We take
advantage of the new runtime add-on version reporting in order to remain
forward compatible with add-ons that do not expect the new status code.

PR-URL: https://github.com/nodejs/node/pull/47986
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
2023-05-20 07:39:12 -07:00
..
binding.gyp node-api: add status napi_cannot_run_js 2023-05-20 07:39:12 -07:00
test_cannot_run_js.c node-api: add status napi_cannot_run_js 2023-05-20 07:39:12 -07:00
test.js node-api: add status napi_cannot_run_js 2023-05-20 07:39:12 -07:00