node/test/cctest
Joyee Cheung b740324f7c
src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace()
It was using Isolate::GetCurrent() which DCHECK on nullptr, even
though what we wanted was to return early if it is nullptr.

PR-URL: https://github.com/nodejs/node/pull/50518
Refs: https://github.com/nodejs/node/pull/50242
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2023-11-14 09:17:55 +01:00
..
node_test_fixture.cc
node_test_fixture.h
test_aliased_buffer.cc
test_base64.cc
test_base_object_ptr.cc
test_cppgc.cc
test_crypto_clienthello.cc
test_dataqueue.cc
test_environment.cc
test_inspector_socket.cc
test_inspector_socket_server.cc
test_json_utils.cc
test_linked_binding.cc
test_node_api.cc
test_node_crypto.cc
test_node_crypto_env.cc test: fix compiler warning in NodeCryptoEnv 2023-08-24 16:25:09 +00:00
test_node_postmortem_metadata.cc
test_per_process.cc
test_platform.cc
test_quic_cid.cc
test_quic_tokens.cc
test_report.cc
test_sockaddr.cc
test_traced_value.cc
test_util.cc src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() 2023-11-14 09:17:55 +01:00