This website requires JavaScript.
Explore
Help
Sign In
1berry
/
nodejs
Watch
1
Star
0
Fork
0
You've already forked nodejs
Code
Issues
Packages
Projects
Releases
Wiki
Activity
nodejs
/
test
/
js-native-api
/
test_string
/
binding.gyp
12 lines
146 B
Plaintext
Raw
Normal View
History
Unescape
Escape
test: partition N-API tests Partition test/addons-napi into test/js-native-api and test/node-api to isolate the Node.js-agnostic portion of the N-API tests from the Node.js-specific portion. PR-URL: https://github.com/nodejs/node/pull/24557 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
2018-11-17 12:34:54 -08:00
{
"targets": [
{
"target_name": "test_string",
"sources": [
node-api: avoid crashing on passed-in null string When `napi_create_string_*` receives a null pointer as its second argument, it must null-check it before passing it into V8, otherwise a crash will occur. Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com> PR-URL: https://github.com/nodejs/node/pull/38923 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
2021-06-03 23:05:07 -07:00
"test_string.c",
"test_null.c",
test: partition N-API tests Partition test/addons-napi into test/js-native-api and test/node-api to isolate the Node.js-agnostic portion of the N-API tests from the Node.js-specific portion. PR-URL: https://github.com/nodejs/node/pull/24557 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
2018-11-17 12:34:54 -08:00
]
}
]
}
Reference in New Issue
Copy Permalink