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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-pause-on-promise-rejection-expected.txt

Issue 651533003: DevTools: Introduce Debugger::Reason::PromiseRejection pause reason. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: also disaply <exception> in scopes sidebar 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-pause-on-promise-rejection-expected.txt
diff --git a/LayoutTests/inspector/sources/debugger/debugger-pause-on-promise-rejection-expected.txt b/LayoutTests/inspector/sources/debugger/debugger-pause-on-promise-rejection-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f01cb7fd15b2abceaebdbee54397ab05e58c5f15
--- /dev/null
+++ b/LayoutTests/inspector/sources/debugger/debugger-pause-on-promise-rejection-expected.txt
@@ -0,0 +1,19 @@
+CONSOLE ERROR: Unhandled promise rejection
+CONSOLE ERROR: Unhandled promise rejection
+Tests that pause on promise rejection works.
+
+=== Pausing only on uncaught exceptions ===
+Set timer for test function.
+Call stack:
+ 0) testFunction (debugger-pause-on-promise-rejection.html:35)
+Paused on promise rejection: 'Error: uncaught'.
+
+=== Pausing on all exceptions ===
+Set timer for test function.
+Call stack:
+ 0) testFunction (debugger-pause-on-promise-rejection.html:34)
+Paused on promise rejection: 'Error: caught'.
+Call stack:
+ 0) testFunction (debugger-pause-on-promise-rejection.html:35)
+Paused on promise rejection: 'Error: uncaught'.
+

Powered by Google App Engine
This is Rietveld 408576698