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

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..fe591bb0fa02b8aed57e5dd15d6abce1a3520c2a
--- /dev/null
+++ b/LayoutTests/inspector/console/console-eval-throw-expected.txt
@@ -0,0 +1,23 @@
+Tests that evaluating 'throw undefined|1|string|object|Error' in the console won't crash the browser and correctly reported. Bug 59611.
+
+
+Running: testThrowUndefined
+throw undefined
+Uncaught undefined VM:2
+
+Running: testThrowNumber
+throw 1
+Uncaught 1 VM:2
+
+Running: testThrowString
+throw 'asdf'
+Uncaught asdf VM:2
+
+Running: testThrowObject
+throw {a:42}
+Uncaught Object {a: 42} VM:2
+
+Running: testThrowError
+throw new Error('asdf')
+Uncaught Error: asdf VM:2
+
« no previous file with comments | « LayoutTests/inspector/console/console-eval-throw.html ('k') | LayoutTests/inspector/console/console-eval-throw-undefined.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698