Index: test/inspector/debugger/set-script-source-exception-expected.txt |
diff --git a/test/inspector/debugger/set-script-source-exception-expected.txt b/test/inspector/debugger/set-script-source-exception-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..03624e989c50891cfbc368d56ffc38cccf67d5f7 |
--- /dev/null |
+++ b/test/inspector/debugger/set-script-source-exception-expected.txt |
@@ -0,0 +1,23 @@ |
+Check that setScriptSource completes correctly when an exception is thrown. |
+ |
+Running test: testIncorrectScriptId |
+{ |
+ error : { |
+ code : -32000 |
+ message : Uncaught Script not found |
+ } |
+ id : <messageId> |
+} |
+ |
+Running test: testSourceWithSyntaxError |
+{ |
+ id : <messageId> |
+ result : { |
+ exceptionDetails : { |
+ columnNumber : 2 |
+ exceptionId : <exceptionId> |
+ lineNumber : 0 |
+ text : Invalid or unexpected token |
+ } |
+ } |
+} |