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

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

Issue 660543002: Fix unhandled promise console message to show stack trace of a DOMException. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-dom-exception-expected.txt
diff --git a/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-dom-exception-expected.txt b/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-dom-exception-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f3fbdc50e94d428f8987272dbc0e7e2d0fc6f0b
--- /dev/null
+++ b/LayoutTests/inspector/sources/debugger/debugger-uncaught-promise-on-dom-exception-expected.txt
@@ -0,0 +1,13 @@
+CONSOLE ERROR: line 30: Unhandled promise rejection
+Tests unhandled promise that was rejected with a DOM exception.
+
+Set timer for test function.
+debugger-uncaught-promise-on-dom-exception.html:10 Console was cleared
+
+ debugger-uncaught-promise-on-dom-exception.html:30 Unhandled promise rejection Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of th…}
+ __proto__: Promise
+ [[PromiseStatus]]: "rejected"
+ [[PromiseValue]]: DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
+ debugger-uncaught-promise-on-dom-exception.html:30 throwDOMException
+ debugger-uncaught-promise-on-dom-exception.html:21 p_catch
+

Powered by Google App Engine
This is Rietveld 408576698