summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/set-script-source-exception-expected.txt
blob: d74d65471e5c2eaa2c3d3a161df3c4f59d98829c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 : 11
            exceptionId : <exceptionId>
            lineNumber : 1
            text : Uncaught SyntaxError: Invalid or unexpected token
        }
    }
}