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

Unified Diff: LayoutTests/inspector/console/console-uncaught-promise-expected.txt

Issue 625943002: Catch uncaught promise rejections from V8 and log to console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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-uncaught-promise-expected.txt
diff --git a/LayoutTests/inspector/console/console-uncaught-promise-expected.txt b/LayoutTests/inspector/console/console-uncaught-promise-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63b86320ba1f13ec696535078d7d888e0dd547f8
--- /dev/null
+++ b/LayoutTests/inspector/console/console-uncaught-promise-expected.txt
@@ -0,0 +1,23 @@
+CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: Unhandled promise rejection
+Tests that uncaught promise rejections are logged into console.
+
+Unhandled promise rejection Promise
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: onload.err1
+Unhandled promise rejection Promise
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: onload.err2
+Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: inspector.err1}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: inspector.err1
+Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: inspector.err2}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: inspector.err2
+

Powered by Google App Engine
This is Rietveld 408576698