node/deps/v8/test/inspector/runtime/error-stack-async-expected.txt
Michaël Zasso 918fe04351
deps: update V8 to 13.6.233.8
PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-05-02 15:06:53 +02:00

66 lines
2.3 KiB
Text

Checks that Error objects capture the correct async continuation
Running test: testErrorStackWithRuntimeEnabled
{
id : <messageId>
result : {
exceptionDetails : {
columnNumber : 10
exception : {
className : Error
description : Error at generateError (test.js:4:10) at async foo (test.js:8:10) at async bar (test.js:12:17)
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 4
scriptId : <scriptId>
stackTrace : {
callFrames : [
[0] : {
columnNumber : 9
functionName : generateError
lineNumber : 3
scriptId : <scriptId>
url : test.js
}
]
parent : {
callFrames : [
[0] : {
columnNumber : 15
functionName : foo
lineNumber : 7
scriptId : <scriptId>
url : test.js
}
[1] : {
columnNumber : 22
functionName : bar
lineNumber : 11
scriptId : <scriptId>
url : test.js
}
[2] : {
columnNumber : 0
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
description : await
}
}
text : Uncaught (in promise) Error
}
result : {
className : Error
description : Error at generateError (test.js:4:10) at async foo (test.js:8:10) at async bar (test.js:12:17)
objectId : <objectId>
subtype : error
type : object
}
}
}