node/test/message
cjihrig d381c22c63 src: fix line numbers on core errors
In dfee4e3712, the module wrapper
and line offset used when wrapping module code was changed to
better report errors on the first line of modules. However, that
commit did not update the runInThisContext() call used to
execute the core modules, so their error line numbers have been
off by one. This commit provides the correct lineOffset for core
modules.

Refs: https://github.com/nodejs/node/pull/2867
PR-URL: https://github.com/nodejs/node/pull/4254
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-12-15 14:14:06 -05:00
..
2100bytes.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
2100bytes.out
core_line_numbers.js src: fix line numbers on core errors 2015-12-15 14:14:06 -05:00
core_line_numbers.out src: fix line numbers on core errors 2015-12-15 14:14:06 -05:00
error_exit.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
error_exit.out deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
eval_messages.js test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
eval_messages.out node: s/doNTCallbackX/nextTickCallbackWithXArgs/ 2015-12-08 11:19:45 +11:00
hello_world.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
hello_world.out
max_tick_depth.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
max_tick_depth.out
message.status test: remove flaky status from eval_messages test 2015-10-20 23:14:00 -04:00
nexttick_throw.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
nexttick_throw.out node: s/doNTCallbackX/nextTickCallbackWithXArgs/ 2015-12-08 11:19:45 +11:00
stack_overflow.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
stack_overflow.out
stdin_messages.js test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
stdin_messages.out node: s/doNTCallbackX/nextTickCallbackWithXArgs/ 2015-12-08 11:19:45 +11:00
testcfg.py test: make test runner multi-arch/mode compatible 2014-10-16 22:39:34 +02:00
throw_custom_error.js test: remove unreachable code 2015-08-20 20:16:47 +02:00
throw_custom_error.out test: remove unreachable code 2015-08-20 20:16:47 +02:00
throw_in_line_with_tabs.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
throw_in_line_with_tabs.out test: enable linting for tests 2015-05-19 21:21:27 +02:00
throw_non_error.js test: remove unreachable code 2015-08-20 20:16:47 +02:00
throw_non_error.out test: remove unreachable code 2015-08-20 20:16:47 +02:00
throw_null.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
throw_null.out test: enable linting for tests 2015-05-19 21:21:27 +02:00
throw_undefined.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
throw_undefined.out deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
timeout_throw.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
timeout_throw.out
undefined_reference_in_new_context.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
undefined_reference_in_new_context.out
vm_display_runtime_error.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
vm_display_runtime_error.out deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
vm_display_syntax_error.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
vm_display_syntax_error.out test: fix tests after V8 upgrade 2015-10-14 11:20:35 -07:00
vm_dont_display_runtime_error.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
vm_dont_display_runtime_error.out deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
vm_dont_display_syntax_error.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
vm_dont_display_syntax_error.out test: fix tests after V8 upgrade 2015-10-14 11:20:35 -07:00