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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/exception-objects-expected.txt

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 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: third_party/WebKit/LayoutTests/inspector/console/exception-objects-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/exception-objects-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/exception-objects-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..891b5221d8048ac84e7aeafad2355d66f57708a1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/console/exception-objects-expected.txt
@@ -0,0 +1,37 @@
+CONSOLE ERROR: line 8: Uncaught Error: error_text
+CONSOLE ERROR: line 13: Uncaught [object Object]
+CONSOLE ERROR: line 18: Uncaught 42
+CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error
+CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error
+CONSOLE ERROR: line 28: Uncaught (in promise) #<Object>
+CONSOLE ERROR: line 28: Uncaught (in promise) #<Object>
+Tests that expressions have thrown objects.
+
+setTimeout(throwError, 0); undefined
+undefined
+foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4
+throwError();
+foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4(anonymous function) @ VM:1
+setTimeout(throwObject, 0); undefined
+undefined
+foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9
+throwObject();
+foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9(anonymous function) @ VM:1
+setTimeout(throwNumber, 0); undefined
+undefined
+foo.js:14 Uncaught 42throwNumber @ foo.js:14
+throwNumber();
+foo.js:14 Uncaught 42throwNumber @ foo.js:14(anonymous function) @ VM:1
+setTimeout(rejectWithError, 0); undefined
+undefined
+foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js:19
+rejectWithError();
+undefined
+foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js:19(anonymous function) @ VM:1
+setTimeout(rejectWithObject, 0); undefined
+undefined
+foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24
+rejectWithObject();
+undefined
+foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24(anonymous function) @ VM:1
+

Powered by Google App Engine
This is Rietveld 408576698