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

Unified Diff: LayoutTests/inspector/console/console-uncaught-promise-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/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
index 63b86320ba1f13ec696535078d7d888e0dd547f8..b45603b032b39e293f74f16e217a1c99a1c0cd47 100644
--- a/LayoutTests/inspector/console/console-uncaught-promise-expected.txt
+++ b/LayoutTests/inspector/console/console-uncaught-promise-expected.txt
@@ -1,23 +1,29 @@
CONSOLE ERROR: Unhandled promise rejection
CONSOLE ERROR: Unhandled promise rejection
-CONSOLE ERROR: Unhandled promise rejection
-CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: line 9: Unhandled promise rejection
+CONSOLE ERROR: line 27: Unhandled promise rejection
Tests that uncaught promise rejections are logged into console.
-Unhandled promise rejection Promise
+console-uncaught-promise.html:1 Unhandled promise rejection Promise
__proto__: Promise
[[PromiseStatus]]: "rejected"
[[PromiseValue]]: Error: onload.err1
-Unhandled promise rejection Promise
+console-uncaught-promise.html:1 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
+
+ console-uncaught-promise.html:9 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: inspector.err1}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: inspector.err1
+ console-uncaught-promise.html:9 runPromises
+ console-uncaught-promise.html:40 timeout
+
+ console-uncaught-promise.html:27 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: inspector.err2}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: inspector.err2
+ console-uncaught-promise.html:27 runPromises
+ console-uncaught-promise.html:40 timeout

Powered by Google App Engine
This is Rietveld 408576698