e5cf8e3772
They are properly initialized upon creation. Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I10ac441580bf957e97ce663c9c3ad268ddeae935 Reviewed-on: https://chromium-review.googlesource.com/1188573 Commit-Queue: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#55492}
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 : 3
|
|
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 : 3
|
|
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
|
|
}
|