mirror of https://github.com/nodejs/node.git
3e18c49657
V8 will crash if escape is called twice on the same scope. Add checks to avoid crashing if napi_escape_scope() is called to try and do this. Add test that tries to call napi_create_scope() twice. PR-URL: https://github.com/nodejs/node/pull/13651 Reviewed-By: Jason Ginchereau <jasongin@microsoft.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
||
---|---|---|
.. | ||
1_hello_world | ||
2_function_arguments | ||
3_callbacks | ||
4_object_factory | ||
5_function_factory | ||
6_object_wrap | ||
7_factory_wrap | ||
8_passing_wrapped | ||
test_array | ||
test_async | ||
test_buffer | ||
test_constructor | ||
test_conversions | ||
test_error | ||
test_exception | ||
test_function | ||
test_general | ||
test_handle_scope | ||
test_make_callback | ||
test_make_callback_recurse | ||
test_number | ||
test_object | ||
test_properties | ||
test_reference | ||
test_string | ||
test_symbol | ||
test_typedarray | ||
.gitignore | ||
common.h | ||
testcfg.py |