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'. |
+ |