nodejs/deps/v8/test/inspector/runtime/exceptionthrown-on-connect-expected.txt
Michaël Zasso e31f0a7d25
deps: update V8 to 7.7.299.4
PR-URL: https://github.com/nodejs/node/pull/28918
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-08-19 09:25:23 +02:00

47 lines
1.4 KiB
Plaintext

Tests that Runtime throws exceptions after enabling domain on scripts with errors.
Enabling Runtime Domain.
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 12
exception : {
className : SyntaxError
description : SyntaxError: Unexpected token ';'
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 1
scriptId : <scriptId>
text : Uncaught SyntaxError: Unexpected token ';'
url : syntaxError.js
}
timestamp : <timestamp>
}
}
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 12
exception : {
className : ReferenceError
description : ReferenceError: y is not defined at referenceError.js:2:13
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 1
scriptId : <scriptId>
text : Uncaught ReferenceError: y is not defined
url : referenceError.js
}
timestamp : <timestamp>
}
}