0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/message
Anna Henningsen b73e66e949
vm: never abort on caught syntax error
Keep track of C++ `TryCatch` state to avoid aborting when
an exception is thrown inside one, and re-throw in JS
to make sure the exception is being picked up a second time by
a second uncaught exception handler, if necessary.

Add a bit of a hack to `AppendExceptionLine` to avoid overriding
the line responsible for re-throwing the exception.

PR-URL: https://github.com/nodejs/node/pull/17394
Fixes: https://github.com/nodejs/node/issues/13258
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-12-05 23:49:36 +01:00
..
2100bytes.js
2100bytes.out
console_low_stack_space.js console,test: make message test more accurate 2017-08-03 15:41:14 +02:00
console_low_stack_space.out
core_line_numbers.js
core_line_numbers.out
error_exit.js
error_exit.out assert: use Object.is comparison in .strictEqual 2017-11-22 09:16:49 -08:00
esm_display_syntax_error_module.mjs module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
esm_display_syntax_error_module.out module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
esm_display_syntax_error.mjs module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
esm_display_syntax_error.out module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
eval_messages.js
eval_messages.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
hello_world.js
hello_world.out
max_tick_depth.js
max_tick_depth.out
message.status
nexttick_throw.js
nexttick_throw.out process: slightly simplify next tick execution 2017-11-28 08:48:30 -05:00
stack_overflow.js
stack_overflow.out
stdin_messages.js
stdin_messages.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
testcfg.py module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
throw_custom_error.js
throw_custom_error.out
throw_in_line_with_tabs.js test: adjust indentation for stricter linting 2017-07-27 09:24:20 -07:00
throw_in_line_with_tabs.out
throw_non_error.js
throw_non_error.out
throw_null.js
throw_null.out
throw_undefined.js
throw_undefined.out
timeout_throw.js
timeout_throw.out
undefined_reference_in_new_context.js
undefined_reference_in_new_context.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
unhandled_promise_trace_warnings.js
unhandled_promise_trace_warnings.out process: slightly simplify next tick execution 2017-11-28 08:48:30 -05:00
vm_caught_custom_runtime_error.js
vm_caught_custom_runtime_error.out
vm_display_runtime_error.js
vm_display_runtime_error.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
vm_display_syntax_error.js
vm_display_syntax_error.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
vm_dont_display_runtime_error.js
vm_dont_display_runtime_error.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
vm_dont_display_syntax_error.js
vm_dont_display_syntax_error.out vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00