Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: LayoutTests/inspector/console/console-eval-throw-expected.txt

Issue 369333002: DevTools: Added error message when the command is invoked from the console with exception (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add-evaluate-exception-details
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+

Powered by Google App Engine
This is Rietveld 408576698