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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-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: added promise.catch in test-helpers.js 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/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt
diff --git a/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt b/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..563f97c6bec1a3c47ff29a1a3f44096670ac9a8a
--- /dev/null
+++ b/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt
@@ -0,0 +1,15 @@
+CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: Unhandled promise rejection
+Tests uncaught promise rejections fired during pause.
+
+Set timer for test function.
+debugger-uncaught-promise-on-pause.html:10 Console was cleared
+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