v8/test/inspector/runtime/exceptionthrown-on-connect-expected.txt
Oliver Dunk 563290194f Add quotes around unexpected token SyntaxError
Quotes have been added around the token to make the message clearer.

Bug: chromium:943636
Change-Id: Ic38f3e6d307157af2c0146e69fb611a2cfb46564
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1593307
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62074}
2019-06-11 06:11:58 +00: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>
}
}