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

Unified Diff: LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-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-enabled/console/console-uncaught-promise-no-inspector-expected.txt
diff --git a/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt b/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e183da03a527ae9405da8706c18f9e022865d70
--- /dev/null
+++ b/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt
@@ -0,0 +1,18 @@
+CONSOLE ERROR: line 9: Unhandled promise rejection
+CONSOLE ERROR: line 28: Unhandled promise rejection
+CONSOLE ERROR: line 47: Unhandled promise rejection
+Tests that uncaught promise rejection messages have line numbers when the inspector is closed and stack traces are not collected.
+
+console-uncaught-promise-no-inspector.html:9 Unhandled promise rejection Promise
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: err1
+console-uncaught-promise-no-inspector.html:28 Unhandled promise rejection Promise
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: Error: err2
+console-uncaught-promise-no-inspector.html:47 Unhandled promise rejection Promise
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
+

Powered by Google App Engine
This is Rietveld 408576698