Index: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-promise-reject-and-handle-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-promise-reject-and-handle-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-promise-reject-and-handle-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ab4959d2e2dd2138fd38364d7a63f735a7202ef |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-promise-reject-and-handle-expected.txt |
@@ -0,0 +1,15 @@ |
+CONSOLE MESSAGE: line 15: onunhandledrejection1 |
+CONSOLE MESSAGE: line 22: onrejectionhandled1 |
+CONSOLE MESSAGE: line 31: onunhandledrejection2 |
+CONSOLE ERROR: line 29: Uncaught (in promise) Error: e |
+CONSOLE MESSAGE: line 37: onrejectionhandled2 |
+Tests that evt.preventDefault() in window.onunhandledrejection suppresses console output. |
+ |
+----console messages start---- |
+console-promise-reject-and-handle.html:15 onunhandledrejection1 |
+console-promise-reject-and-handle.html:22 onrejectionhandled1 |
+console-promise-reject-and-handle.html:31 onunhandledrejection2 |
+console-promise-reject-and-handle.html:29 Uncaught (in promise) Error: e(…) |
+console-promise-reject-and-handle.html:37 onrejectionhandled2 |
+----console messages end---- |
+ |