v8/test/inspector/runtime/compile-script-expected.txt
kozyatinskiy 24beac30ee [inspector] Make InspectorTest.sendCommand* private
Introduce Protocol.Domain.method(args) and Protocol.Domain.onEventName() instead.
Renamed InspectorTest.evaluateInPage -> InspectorTest.addScript.
Improved InspectorTest.logMessage.

BUG=chromium:635948
R=dgozman@chromium.org,alph@chromium.org

Review-Url: https://codereview.chromium.org/2390733002
Cr-Commit-Position: refs/heads/master@{#39942}
2016-10-03 23:33:07 +00:00

66 lines
1.4 KiB
Plaintext

Compiling script: foo1.js
persist: false
compilation result:
{
id : <messageId>
result : {
exceptionDetails : {
columnNumber : 2
exception : {
className : SyntaxError
description : SyntaxError: Unexpected end of input
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 1
scriptId : <scriptId>
text : Uncaught
}
}
}
-----
Compiling script: foo2.js
persist: true
Debugger.scriptParsed: foo2.js
compilation result:
{
id : <messageId>
result : {
scriptId : <scriptId>
}
}
-----
Compiling script: foo3.js
persist: false
compilation result:
{
id : <messageId>
result : {
}
}
-----
Compiling script: foo4.js
persist: false
compilation result:
{
id : <messageId>
result : {
exceptionDetails : {
columnNumber : 13
exception : {
className : SyntaxError
description : SyntaxError: Unexpected identifier
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 0
scriptId : <scriptId>
text : Uncaught
}
}
}
-----