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

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

Issue 693183002: Show correct location of unhandled promise rejection messages when DevTools closed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 1 month 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-in-worker-expected.txt
diff --git a/LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt b/LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt
index 24f7a7f2a5c6c228023377aaa38f6a7a3fb9e89c..3ee2515bcf40ed145188f4c77793bfc731429c8b 100644
--- a/LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt
+++ b/LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt
@@ -1,12 +1,12 @@
-CONSOLE ERROR: Unhandled promise rejection
-CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: line 3: Unhandled promise rejection
vsevik 2014/11/12 15:46:12 The similar message is useful in case of uncaught
+CONSOLE ERROR: line 21: Unhandled promise rejection
Tests that uncaught promise rejections happenned in workers are logged into console.
-Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: err1}
+worker-with-unhandled-promises.js:3 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: err1}
__proto__: Promise
[[PromiseStatus]]: "rejected"
[[PromiseValue]]: Error: err1
-Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: err2}
+worker-with-unhandled-promises.js:21 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: err2}
__proto__: Promise
[[PromiseStatus]]: "rejected"
[[PromiseValue]]: Error: err2

Powered by Google App Engine
This is Rietveld 408576698