node/test/message
Joyee Cheung 052e095c6b
vm: use internal versions of compileFunction and Script
Instead of using the public versions of the vm APIs internally,
use the internal versions so that we can skip unnecessary
argument validation.

The public versions would need special care to the generation
of host-defined options to hit the isolate compilation cache
when imporModuleDynamically isn't used, while internally it's
almost always used, so this allows us to handle the host-defined
options separately.

PR-URL: https://github.com/nodejs/node/pull/50137
Backport-PR-URL: https://github.com/nodejs/node/pull/51004
Refs: https://github.com/nodejs/node/issues/35375
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-03-15 17:56:06 +00:00
..
assert_throws_stack.js
assert_throws_stack.out errors: disp ver on fatal except that causes exit 2021-09-08 13:31:07 -04:00
core_line_numbers.js test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
core_line_numbers.out test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
eval_messages.js
eval_messages.out vm: use internal versions of compileFunction and Script 2024-03-15 17:56:06 +00:00
if-error-has-good-stack.js test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
if-error-has-good-stack.out test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
internal_assert.js
internal_assert.out errors: disp ver on fatal except that causes exit 2021-09-08 13:31:07 -04:00
internal_assert_fail.js
internal_assert_fail.out errors: disp ver on fatal except that causes exit 2021-09-08 13:31:07 -04:00
max_tick_depth.js
max_tick_depth.out
message.status
nexttick_throw.js tools: enable no-unused-expressions lint rule 2020-12-07 20:33:45 +01:00
nexttick_throw.out test: adapt message tests for V8 10.2 2022-04-12 22:11:17 +02:00
promise_unhandled_warn_with_error.js process: change default --unhandled-rejections=throw 2020-09-22 12:29:32 -07:00
promise_unhandled_warn_with_error.out
stdin_messages.js
stdin_messages.out vm: use internal versions of compileFunction and Script 2024-03-15 17:56:06 +00:00
test-no-extra-info-on-fatal-exception.js test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
test-no-extra-info-on-fatal-exception.out test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
testcfg.py test: run message and pseudo-tty tests in parallel 2021-05-04 13:25:24 -07:00
throw_error_with_getter_throw.js
throw_error_with_getter_throw.out errors: disp ver on fatal except that causes exit 2021-09-08 13:31:07 -04:00
throw_null.js
throw_null.out errors: disp ver on fatal except that causes exit 2021-09-08 13:31:07 -04:00
throw_undefined.js
throw_undefined.out errors: disp ver on fatal except that causes exit 2021-09-08 13:31:07 -04:00
timeout_throw.js tools: enable no-unused-expressions lint rule 2020-12-07 20:33:45 +01:00
timeout_throw.out test: adapt message tests for V8 10.2 2022-04-12 22:11:17 +02:00
undefined_reference_in_new_context.js test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
undefined_reference_in_new_context.out test: remove cjs loader from stack traces 2022-08-22 19:37:25 -04:00
unhandled_promise_trace_warnings.js process: change default --unhandled-rejections=throw 2020-09-22 12:29:32 -07:00
unhandled_promise_trace_warnings.out src: use node:moduleName as builtin module filename 2020-10-07 17:35:14 +02:00
util-inspect-error-cause.js util: fix inspecting error with a throwing getter for cause 2023-07-06 11:09:40 -04:00
util-inspect-error-cause.out util: fix inspecting error with a throwing getter for cause 2023-07-06 11:09:40 -04:00
util_inspect_error.js
util_inspect_error.out
v8_warning.js
v8_warning.out test: make executable name more general 2020-12-13 20:37:43 -08:00