mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
4286dcf17f
Make `Environment::GetCurrent()` return `nullptr` if the current `Context` is not a Node.js context, and for the relevant usage of this function, either: - Switch to the better `GetCurrent(args)` variant - Turn functions in to no-ops where it makes sense - Make it a `CHECK`, i.e. an API requirement, where it make sense - Leave a `TODO` comment for verifying what, if anything, is to be done PR-URL: https://github.com/nodejs/node/pull/22819 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Refael Ackermann <refack@gmail.com> |
||
---|---|---|
.. | ||
node_test_fixture.cc | ||
node_test_fixture.h | ||
test_aliased_buffer.cc | ||
test_base64.cc | ||
test_environment.cc | ||
test_inspector_socket_server.cc | ||
test_inspector_socket.cc | ||
test_node_postmortem_metadata.cc | ||
test_platform.cc | ||
test_traced_value.cc | ||
test_url.cc | ||
test_util.cc |