v8/test/inspector/debugger/break-on-exception-compiler-errors-expected.txt
Alexey Kozyatinskiy 954829b037 [inspector] added missing tests
Added tests that I forgot to commit with big debug.js removal.

TBR=dgozman@chromium.org

Bug: none
Change-Id: I518dd254af116d391a2af96a6f6c11da457129a1
Reviewed-on: https://chromium-review.googlesource.com/1086375
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53507}
2018-06-05 01:43:33 +00:00

92 lines
2.1 KiB
Plaintext

Break on exceptions from compiler errors.
Running test: testUnexpectedEndOfInput
Runs '+++'
Runtime.evaluate exceptionDetails:
{
columnNumber : 2
exception : {
className : SyntaxError
description : SyntaxError: Unexpected end of input
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 0
scriptId : <scriptId>
text : Uncaught
}
Running test: testUnexpectedIdentifier
Runs 'x x'
Runtime.evaluate exceptionDetails:
{
columnNumber : 2
exception : {
className : SyntaxError
description : SyntaxError: Unexpected identifier
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 0
scriptId : <scriptId>
text : Uncaught
}
Running test: testEvalUnexpectedEndOfInput
Runs eval('+++')
paused on exception:
{
className : SyntaxError
description : SyntaxError: Unexpected end of input at <anonymous>:1:1
objectId : <objectId>
subtype : error
type : object
uncaught : false
}
Runtime.evaluate exceptionDetails:
{
columnNumber : 2
exception : {
className : SyntaxError
description : SyntaxError: Unexpected end of input at <anonymous>:1:1
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 0
scriptId : <scriptId>
text : Uncaught
}
Running test: testEvalUnexpectedIdentifier
Runs eval('x x')
paused on exception:
{
className : SyntaxError
description : SyntaxError: Unexpected identifier at <anonymous>:1:1
objectId : <objectId>
subtype : error
type : object
uncaught : false
}
Runtime.evaluate exceptionDetails:
{
columnNumber : 2
exception : {
className : SyntaxError
description : SyntaxError: Unexpected identifier at <anonymous>:1:1
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 0
scriptId : <scriptId>
text : Uncaught
}