Index: LayoutTests/inspector/console/console-eval-throw-expected.txt |
diff --git a/LayoutTests/inspector/console/console-eval-throw-expected.txt b/LayoutTests/inspector/console/console-eval-throw-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6d0e7295bc8f4543d7a0a4e4b0c5984165471741 |
--- /dev/null |
+++ b/LayoutTests/inspector/console/console-eval-throw-expected.txt |
@@ -0,0 +1,43 @@ |
+Tests that evaluating 'throw undefined|1|string|object|Error' in the console won't crash the browser and correctly reported. Bug 59611. |
+ |
+ |
+Running: testThrowUndefined |
vsevik
2014/07/18 14:41:06
We should clear messages between tests in test sui
kozyatinskiy1
2014/07/18 16:10:08
Done.
|
+throw undefined |
+Uncaught undefined VM:2 |
+ |
+Running: testThrowNumber |
+throw undefined |
+Uncaught undefined VM:2 |
+throw 1 |
+Uncaught 1 VM:2 |
+ |
+Running: testThrowString |
+throw undefined |
+Uncaught undefined VM:2 |
+throw 1 |
+Uncaught 1 VM:2 |
+throw 'asdf' |
+Uncaught asdf VM:2 |
+ |
+Running: testThrowObject |
+throw undefined |
+Uncaught undefined VM:2 |
+throw 1 |
+Uncaught 1 VM:2 |
+throw 'asdf' |
+Uncaught asdf VM:2 |
+throw {a:42} |
+Uncaught Object {a: 42} VM:2 |
+ |
+Running: testThrowError |
+throw undefined |
+Uncaught undefined VM:2 |
+throw 1 |
+Uncaught 1 VM:2 |
+throw 'asdf' |
+Uncaught asdf VM:2 |
+throw {a:42} |
+Uncaught Object {a: 42} VM:2 |
+throw new Error('asdf') |
+Uncaught Error: asdf VM:2 |
+ |