node/test/message
Ben Noordhuis 17fbdc18b8 lib: name EventEmitter prototype methods
Before this commit the EventEmitter methods were anonymous functions.
V8 tries to infer names for anonymous functions based on the execution
context but it frequently gets it wrong and when that happens, the
stack trace is usually confusing and unhelpful.  This commit names all
methods so V8 can fall back to the method.name property.

The above gotcha applies to all anonymous functions but is exacerbated
for EventEmitter methods because those are invoked with a plenitude of
different receivers.

Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-05-07 12:11:57 -07:00
..
2100bytes.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
2100bytes.out Fix message tests 2010-06-19 17:41:34 -07:00
error_exit.js node: emit 'exit' when exiting with error 2012-12-29 16:53:23 -08:00
error_exit.out core: Remove the nextTick for running the main file 2013-02-27 16:29:36 -08:00
eval_messages.js Report errors properly from --eval and stdin 2012-07-30 08:21:39 -07:00
eval_messages.out test-message: fix message output 2012-08-05 13:53:31 -07:00
hello_world.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
hello_world.out Add message tests 2010-06-18 18:14:06 -07:00
max_tick_depth.js Print warning when maxTickDepth is reached 2012-10-29 10:53:39 -07:00
max_tick_depth.out core: Remove the nextTick for running the main file 2013-02-27 16:29:36 -08:00
max_tick_depth_trace.js Print warning when maxTickDepth is reached 2012-10-29 10:53:39 -07:00
max_tick_depth_trace.out src: domain should not replace nextTick function 2014-03-03 16:27:58 -08:00
nexttick_throw.js test-message: Add setTimeout and nextTick message tests 2012-12-29 10:37:31 -08:00
nexttick_throw.out core: Remove the nextTick for running the main file 2013-02-27 16:29:36 -08:00
stack_overflow.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
stack_overflow.out src, test: downgrade to v8 3.14 api 2013-02-25 23:45:02 +01:00
stdin_messages.js test: stdin error messages 2012-08-02 08:11:18 -07:00
stdin_messages.out lib: name EventEmitter prototype methods 2014-05-07 12:11:57 -07:00
testcfg.py test-message: fix message output 2012-08-05 13:53:31 -07:00
throw_custom_error.js Lint all the JavaScripts. 2012-02-18 15:34:57 -08:00
throw_custom_error.out Merge remote-tracking branch 'ry/v0.6' into v0.6-merge 2012-05-09 15:12:13 -07:00
throw_in_line_with_tabs.js Check for tabs in source line in DisplayExceptionLine 2012-05-21 18:30:16 +02:00
throw_in_line_with_tabs.out tests: make all message tests pass on Windows 2012-06-13 03:02:53 +02:00
throw_non_error.js Lint all the JavaScripts. 2012-02-18 15:34:57 -08:00
throw_non_error.out tests: make all message tests pass on Windows 2012-06-13 03:02:53 +02:00
timeout_throw.js test-message: Add setTimeout and nextTick message tests 2012-12-29 10:37:31 -08:00
timeout_throw.out Revert "Move MakeCallback to JS" 2013-02-15 18:13:01 -08:00
undefined_reference_in_new_context.js node: emit 'exit' when exiting with error 2012-12-29 16:53:23 -08:00
undefined_reference_in_new_context.out core: Remove the nextTick for running the main file 2013-02-27 16:29:36 -08:00