954829b037
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}
92 lines
2.1 KiB
Plaintext
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
|
|
}
|