0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/test/abort
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
..
test-abort-backtrace.js src: implement backtrace-on-abort for windows 2017-11-15 19:28:13 +01:00
test-abort-uncaught-exception.js vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
test-http-parser-consume.js test,process: run 'abort' suite on Windows 2017-09-03 17:20:20 -04:00
test-process-abort-exitcode.js test,process: run 'abort' suite on Windows 2017-09-03 17:20:20 -04:00
test-zlib-invalid-internals-usage.js test: refactor using template string 2017-11-26 09:20:20 -08:00
testcfg.py test: run abort tests 2017-08-26 16:30:35 -07:00