node/test/message
Anna Henningsen 6151544751 vm: don't print out arrow message for custom error
In `AppendExceptionLine()`, which is used both by the `vm`
module and the uncaught exception handler, don’t print anything
to stderr when called from the `vm` module, even if the
thrown object is not a native error instance.

Fixes: https://github.com/nodejs/node/issues/7397
PR-URL: https://github.com/nodejs/node/pull/7398
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-07-05 22:36:51 +02:00
..
2100bytes.js
2100bytes.out
console_low_stack_space.js module: don't cache uninitialized builtins 2016-06-02 22:39:20 +10:00
console_low_stack_space.out module: don't cache uninitialized builtins 2016-06-02 22:39:20 +10:00
core_line_numbers.js
core_line_numbers.out punycode: update to v2.0.0 2016-07-05 22:10:22 +02:00
error_exit.js
error_exit.out src: rename "node" script to "bootstrap_node" 2016-06-26 21:54:29 -05:00
eval_messages.js
eval_messages.out vm: add ability to break on sigint/ctrl+c 2016-07-05 22:10:23 +02:00
hello_world.js
hello_world.out
max_tick_depth.js
max_tick_depth.out
message.status
nexttick_throw.js test,tools: enable linting for undefined vars 2016-04-26 12:16:22 -07:00
nexttick_throw.out src: rename "node" script to "bootstrap_node" 2016-06-26 21:54:29 -05:00
stack_overflow.js
stack_overflow.out
stdin_messages.js
stdin_messages.out vm: add ability to break on sigint/ctrl+c 2016-07-05 22:10:23 +02:00
testcfg.py
throw_custom_error.js
throw_custom_error.out
throw_in_line_with_tabs.js
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 test,tools: enable linting for undefined vars 2016-04-26 12:16:22 -07:00
timeout_throw.out timers: give Timeouts a constructor name 2016-03-21 11:21:53 -04:00
undefined_reference_in_new_context.js
undefined_reference_in_new_context.out vm: add ability to break on sigint/ctrl+c 2016-07-05 22:10:23 +02:00
vm_caught_custom_runtime_error.js vm: don't print out arrow message for custom error 2016-07-05 22:36:51 +02:00
vm_caught_custom_runtime_error.out vm: don't print out arrow message for custom error 2016-07-05 22:36:51 +02:00
vm_display_runtime_error.js
vm_display_runtime_error.out vm: add ability to break on sigint/ctrl+c 2016-07-05 22:10:23 +02:00
vm_display_syntax_error.js
vm_display_syntax_error.out src: rename "node" script to "bootstrap_node" 2016-06-26 21:54:29 -05:00
vm_dont_display_runtime_error.js
vm_dont_display_runtime_error.out vm: add ability to break on sigint/ctrl+c 2016-07-05 22:10:23 +02:00
vm_dont_display_syntax_error.js
vm_dont_display_syntax_error.out src: rename "node" script to "bootstrap_node" 2016-06-26 21:54:29 -05:00