| OLD | NEW |
| 1 Check that setScriptSource completes correctly when an exception is thrown. | 1 Check that setScriptSource completes correctly when an exception is thrown. |
| 2 | 2 |
| 3 Running test: testIncorrectScriptId | 3 Running test: testIncorrectScriptId |
| 4 { | 4 { |
| 5 error : { | 5 error : { |
| 6 code : -32000 | 6 code : -32000 |
| 7 message : Uncaught Script not found | 7 message : No script with given id found |
| 8 } | 8 } |
| 9 id : <messageId> | 9 id : <messageId> |
| 10 } | 10 } |
| 11 | 11 |
| 12 Running test: testSourceWithSyntaxError | 12 Running test: testSourceWithSyntaxError |
| 13 { | 13 { |
| 14 id : <messageId> | 14 id : <messageId> |
| 15 result : { | 15 result : { |
| 16 exceptionDetails : { | 16 exceptionDetails : { |
| 17 columnNumber : 2 | 17 columnNumber : 2 |
| 18 exceptionId : <exceptionId> | 18 exceptionId : <exceptionId> |
| 19 lineNumber : 0 | 19 lineNumber : 0 |
| 20 text : Invalid or unexpected token | 20 text : Invalid or unexpected token |
| 21 } | 21 } |
| 22 } | 22 } |
| 23 } | 23 } |
| OLD | NEW |