0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/message
Anna Henningsen 32e7e813e9
src: use custom fprintf alike to write errors to stderr
This allows printing errors that contain nul characters, for example.

Fixes: https://github.com/nodejs/node/issues/28761
Fixes: https://github.com/nodejs/node/issues/31218

PR-URL: https://github.com/nodejs/node/pull/31446
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-23 22:39:00 +01:00
..
2100bytes.js
2100bytes.out
assert_throws_stack.js
assert_throws_stack.out
async_error_eval_cjs.js
async_error_eval_cjs.out
async_error_eval_esm.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
async_error_eval_esm.out esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
async_error_microtask_main.js
async_error_microtask_main.out
async_error_nexttick_main.js
async_error_nexttick_main.out
async_error_sync_esm.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
async_error_sync_esm.out esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
async_error_sync_main.js
async_error_sync_main.out
console_low_stack_space.js
console_low_stack_space.out
console.js
console.out
core_line_numbers.js
core_line_numbers.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
error_exit.js
error_exit.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
error_with_nul.js src: use custom fprintf alike to write errors to stderr 2020-01-23 22:39:00 +01:00
error_with_nul.out src: use custom fprintf alike to write errors to stderr 2020-01-23 22:39:00 +01:00
esm_display_syntax_error_import_module.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_display_syntax_error_import_module.out
esm_display_syntax_error_import.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_display_syntax_error_import.out esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_display_syntax_error_module.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_display_syntax_error_module.out
esm_display_syntax_error.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_display_syntax_error.out esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_loader_not_found.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_loader_not_found.out module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
esm_loader_syntax_error.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
esm_loader_syntax_error.out esm: exit the process with an error if loader has an issue 2019-11-09 09:30:36 +01:00
eval_messages.js
eval_messages.out cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
events_unhandled_error_common_trace.js
events_unhandled_error_common_trace.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
events_unhandled_error_nexttick.js
events_unhandled_error_nexttick.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
events_unhandled_error_sameline.js
events_unhandled_error_sameline.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
events_unhandled_error_subclass.js events: give subclass name in unhandled 'error' message 2019-08-06 19:28:12 -07:00
events_unhandled_error_subclass.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
hello_world.js
hello_world.out
if-error-has-good-stack.js
if-error-has-good-stack.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
internal_assert_fail.js
internal_assert_fail.out errors: make sure all Node.js errors show their properties 2019-10-03 12:34:44 -07:00
internal_assert.js
internal_assert.out errors: make sure all Node.js errors show their properties 2019-10-03 12:34:44 -07:00
max_tick_depth.js
max_tick_depth.out
message.status test: unskip tests that now pass on AIX 2019-08-10 19:02:57 -07:00
nexttick_throw.js
nexttick_throw.out
promise_always_throw_unhandled.js
promise_always_throw_unhandled.out
source_map_throw_catch.js process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
source_map_throw_catch.out process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
source_map_throw_first_tick.js process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
source_map_throw_first_tick.out process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
source_map_throw_set_immediate.js process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
source_map_throw_set_immediate.out process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
stack_overflow.js
stack_overflow.out
stdin_messages.js test: change var to let 2019-11-17 20:08:36 +05:30
stdin_messages.out test: change var to let 2019-11-17 20:08:36 +05:30
testcfg.py
throw_custom_error.js
throw_custom_error.out
throw_error_with_getter_throw_traced.js cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
throw_error_with_getter_throw_traced.out src: prevent hard coding stack trace limit 2019-12-25 22:29:57 +01:00
throw_error_with_getter_throw.js
throw_error_with_getter_throw.out cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
throw_in_line_with_tabs.js
throw_in_line_with_tabs.out
throw_non_error.js
throw_non_error.out
throw_null_traced.js cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
throw_null_traced.out src: prevent hard coding stack trace limit 2019-12-25 22:29:57 +01:00
throw_null.js
throw_null.out cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
throw_undefined_traced.js cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
throw_undefined_traced.out src: prevent hard coding stack trace limit 2019-12-25 22:29:57 +01:00
throw_undefined.js
throw_undefined.out cli: add --trace-uncaught flag 2019-10-22 08:16:18 +02:00
timeout_throw.js
timeout_throw.out
undefined_reference_in_new_context.js
undefined_reference_in_new_context.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
unhandled_promise_trace_warnings.js
unhandled_promise_trace_warnings.out lib: refactor unhandled rejection deprecation warning emission 2019-06-19 15:44:09 +08:00
util_inspect_error.js
util_inspect_error.out
v8_warning.js
v8_warning.out
vm_caught_custom_runtime_error.js
vm_caught_custom_runtime_error.out
vm_display_runtime_error.js
vm_display_runtime_error.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
vm_display_syntax_error.js
vm_display_syntax_error.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
vm_dont_display_runtime_error.js
vm_dont_display_runtime_error.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00
vm_dont_display_syntax_error.js
vm_dont_display_syntax_error.out module: reduce circular dependency of internal/modules/cjs/loader 2019-11-19 13:43:59 +01:00