2017-03-21 10:16:54 +01:00
|
|
|
Check that setScriptSource completes correctly when an exception is thrown.
|
|
|
|
|
|
|
|
Running test: testIncorrectScriptId
|
|
|
|
{
|
|
|
|
error : {
|
|
|
|
code : -32000
|
2017-05-02 10:50:00 +02:00
|
|
|
message : No script with given id found
|
2017-03-21 10:16:54 +01:00
|
|
|
}
|
|
|
|
id : <messageId>
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testSourceWithSyntaxError
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
exceptionDetails : {
|
2018-09-07 17:07:13 +02:00
|
|
|
columnNumber : 11
|
2017-03-21 10:16:54 +01:00
|
|
|
exceptionId : <exceptionId>
|
2018-09-07 17:07:13 +02:00
|
|
|
lineNumber : 1
|
|
|
|
text : Uncaught SyntaxError: Invalid or unexpected token
|
2017-03-21 10:16:54 +01:00
|
|
|
}
|
2022-09-21 13:28:42 +02:00
|
|
|
status : CompileError
|
2017-03-21 10:16:54 +01:00
|
|
|
}
|
|
|
|
}
|