v8/test/inspector/debugger/set-script-source-exception-expected.txt
kozyatinskiy 6b6ed60155 [inspector] return meaningful error on Debug.setScriptSource for ES module
BUG=v8:1569
R=dgozman@chromium.org,alph@chromium.org

Review-Url: https://codereview.chromium.org/2669713002
Cr-Commit-Position: refs/heads/master@{#42935}
2017-02-03 22:10:04 +00:00

24 lines
497 B
Plaintext

Check that setScriptSource completes correctly when an exception is thrown.
Running test: testIncorrectScriptId
{
error : {
code : -32000
message : No script with given id found
}
id : <messageId>
}
Running test: testSourceWithSyntaxError
{
id : <messageId>
result : {
exceptionDetails : {
columnNumber : 2
exceptionId : <exceptionId>
lineNumber : 0
text : Invalid or unexpected token
}
}
}