node/test/report
legendecas 5355a46840 report: fix missing section javascriptHeap on OOMError
`Environment::GetCurrent` may not available in the context of OOM.
Removes the cyclic `Environment::GetCurrent` and `env->isolate()`
calls to ensure both `isolate` and `env` is present if available.

However, this behavior is not guaranteed. As
`Environment::GetCurrent` didn't allocate new handles in the heap,
when a Context is entered it can still get the valid env pointer.
Removes the unstable assertion of the absence of env in the test.

PR-URL: https://github.com/nodejs/node/pull/44398
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2022-10-11 14:45:22 -05:00
..
report.status test: mark flaky tests on smartos 2022-07-31 16:03:16 +02:00
test-report-config.js
test-report-fatalerror-oomerror-compact.js report: fix missing section javascriptHeap on OOMError 2022-10-11 14:45:22 -05:00
test-report-fatalerror-oomerror-directory.js report: fix missing section javascriptHeap on OOMError 2022-10-11 14:45:22 -05:00
test-report-fatalerror-oomerror-filename.js report: fix missing section javascriptHeap on OOMError 2022-10-11 14:45:22 -05:00
test-report-fatalerror-oomerror-not-set.js report: fix missing section javascriptHeap on OOMError 2022-10-11 14:45:22 -05:00
test-report-fatalerror-oomerror-set.js report: fix missing section javascriptHeap on OOMError 2022-10-11 14:45:22 -05:00
test-report-getreport.js
test-report-signal.js
test-report-uncaught-exception-compat.js report: skip report if uncaught exception is handled 2022-10-11 14:45:14 -05:00
test-report-uncaught-exception-handled.js report: skip report if uncaught exception is handled 2022-10-11 14:45:14 -05:00
test-report-uncaught-exception-override.js report: skip report if uncaught exception is handled 2022-10-11 14:45:14 -05:00
test-report-uncaught-exception-primitives.js report: skip report if uncaught exception is handled 2022-10-11 14:45:14 -05:00
test-report-uncaught-exception-symbols.js report: skip report if uncaught exception is handled 2022-10-11 14:45:14 -05:00
test-report-uncaught-exception.js report: skip report if uncaught exception is handled 2022-10-11 14:45:14 -05:00
test-report-uv-handles.js report: add queue info for udp 2022-10-11 14:45:17 -05:00
test-report-worker.js
test-report-writereport.js
testcfg.py