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 |