node/test/cctest
Joyee Cheung 036c89f917
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-06 09:25:06 +00:00
..
node_test_fixture.cc src: use effective cppgc wrapper id to deduce non-cppgc id 2023-07-21 16:44:23 +02:00
node_test_fixture.h test: make IsolateData per-isolate in cctest 2023-06-25 05:41:19 +00:00
test_aliased_buffer.cc src: move AliasedBuffer implementation to -inl.h 2023-03-01 17:45:02 +01:00
test_base64.cc crypto: refactoring internals, add WebCrypto 2020-10-07 17:27:05 -07:00
test_base_object_ptr.cc src: create BaseObject with node::Realm 2022-09-27 16:39:53 +08:00
test_cppgc.cc src: use effective cppgc wrapper id to deduce non-cppgc id 2023-07-21 16:44:23 +02:00
test_crypto_clienthello.cc test: use CHECK instead of EXPECT where necessary 2022-10-14 14:10:48 -04:00
test_dataqueue.cc src, lib: fixup lint and format issues for DataQueue/Blob 2023-02-19 16:26:59 -08:00
test_environment.cc bootstrap: hide experimental web globals with flag kNoBrowserGlobals 2023-07-05 07:02:59 +00:00
test_inspector_socket.cc src: prefer data accessor of string and vector 2023-05-03 14:09:23 +00:00
test_inspector_socket_server.cc test: fix coverity warning in test 2022-07-12 15:50:56 -04:00
test_json_utils.cc src: fix json utils escapes for U+000B 2022-06-14 11:56:00 +08:00
test_linked_binding.cc test: define NAPI_VERSION before including node_api.h 2023-06-24 17:04:08 +00:00
test_node_api.cc test: make IsolateData per-isolate in cctest 2023-06-25 05:41:19 +00:00
test_node_crypto.cc test: fix typo in test_node_crypto.cc 2021-02-24 19:08:22 +05:30
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: fix DebugSymbolsTest.ReqWrapList on PPC64LE 2022-09-06 10:06:42 +02:00
test_per_process.cc src: make BuiltinLoader threadsafe and non-global 2023-01-18 22:03:00 +00:00
test_platform.cc src: clean up embedder API 2020-11-02 13:21:10 +00:00
test_quic_cid.cc quic: add multiple internal utilities 2023-03-28 17:15:59 -07:00
test_quic_tokens.cc quic: add additional quic implementation utilities 2023-03-31 09:58:37 -07:00
test_report.cc test: make IsolateData per-isolate in cctest 2023-06-25 05:41:19 +00:00
test_sockaddr.cc net: allow net.BlockList to use net.SocketAddress objects 2021-04-02 06:16:42 -07:00
test_traced_value.cc
test_util.cc src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() 2023-11-06 09:25:06 +00:00