3 Commits
Author SHA1 Message Date
legendecas f69c934ad4 report: generates report on threads with no isolates
PR-URL: https://github.com/nodejs/node/pull/38994
Backport-PR-URL: https://github.com/nodejs/node/pull/39515
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-03 14:38:33 +02:00
legendecas 99493b07d4 src: fix fatal errors when a current isolate not exist
napi_fatal_error and node watchdog trigger fatal error but rather
running on a thread that hold no current isolate.

PR-URL: https://github.com/nodejs/node/pull/38624
Backport-PR-URL: https://github.com/nodejs/node/pull/39515
Reviewed-By: Michael Dawson <midawson@redhat.com>
2021-09-03 14:38:21 +02:00
Gabriel Schulhof 938e11882b 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-12-04 13:58:17 -08:00