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..560a6b56c9a54a7a01fb3ed744a77c55ffc043e3 |
--- /dev/null |
+++ b/LayoutTests/inspector/console/console-eval-throw-expected.txt |
@@ -0,0 +1,18 @@ |
+Tests that evaluating 'throw undefined|1|string|object|Error' in the console won't crash the browser and correctly reported. Bug 59611. |
+ |
+ |
+Running: testThrowUndefined |
+log: Uncaught undefined VM34:2 |
+ |
+Running: testThrowNumber |
+log: Uncaught 1 VM39:2 |
+ |
+Running: testThrowString |
+log: Uncaught asdf VM43:2 |
+ |
+Running: testThrowObject |
+log: Uncaught Object {a: 42} VM47:2 |
+ |
+Running: testThrowError |
+log: Uncaught Error: asdf VM51:2 |
+ |