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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-promise-reject-and-handle-expected.txt

Issue 2150993004: [DevTools] Remove V8Debugger::consoleMessagesCount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: 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----
+

Powered by Google App Engine
This is Rietveld 408576698