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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt

Issue 657063002: Show stack traces in console for unhandled promise rejection messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed debugger-pause-on-promise-rejection.html test 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
index 563f97c6bec1a3c47ff29a1a3f44096670ac9a8a..9410b7885b869e8f707758ca5c0006bc295e2bc4 100644
--- a/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt
+++ b/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-pause-expected.txt
@@ -1,15 +1,21 @@
-CONSOLE ERROR: Unhandled promise rejection
-CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: line 16: Unhandled promise rejection
+CONSOLE ERROR: line 34: 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
+
+ debugger-uncaught-promise-on-pause.html:16 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: inspector.err1}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: inspector.err1
+ debugger-uncaught-promise-on-pause.html:16 runPromises
+ debugger-uncaught-promise-on-pause.html:41 timeout
+
+ debugger-uncaught-promise-on-pause.html:34 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: inspector.err2}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: inspector.err2
+ debugger-uncaught-promise-on-pause.html:34 runPromises
+ debugger-uncaught-promise-on-pause.html:41 timeout

Powered by Google App Engine
This is Rietveld 408576698