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

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

Issue 2284123002: [DevTools] Format console.log(new Error()) same as console.log(new Error().stack) (Closed)
Patch Set: removed elipsis Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 CONSOLE MESSAGE: line 15: onunhandledrejection1 1 CONSOLE MESSAGE: line 15: onunhandledrejection1
2 CONSOLE MESSAGE: line 22: onrejectionhandled1 2 CONSOLE MESSAGE: line 22: onrejectionhandled1
3 CONSOLE MESSAGE: line 31: onunhandledrejection2 3 CONSOLE MESSAGE: line 31: onunhandledrejection2
4 CONSOLE ERROR: line 29: Uncaught (in promise) Error: e 4 CONSOLE ERROR: line 29: Uncaught (in promise) Error: e
5 CONSOLE MESSAGE: line 37: onrejectionhandled2 5 CONSOLE MESSAGE: line 37: onrejectionhandled2
6 Tests that evt.preventDefault() in window.onunhandledrejection suppresses consol e output. 6 Tests that evt.preventDefault() in window.onunhandledrejection suppresses consol e output.
7 7
8 ----console messages start---- 8 ----console messages start----
9 console-promise-reject-and-handle.html:15 onunhandledrejection1 9 console-promise-reject-and-handle.html:15 onunhandledrejection1
10 console-promise-reject-and-handle.html:22 onrejectionhandled1 10 console-promise-reject-and-handle.html:22 onrejectionhandled1
11 console-promise-reject-and-handle.html:31 onunhandledrejection2 11 console-promise-reject-and-handle.html:31 onunhandledrejection2
12 console-promise-reject-and-handle.html:29 Uncaught (in promise) Error: e(…) 12 console-promise-reject-and-handle.html:29 Uncaught (in promise) Error: e
13 at setupPromise2 (console-promise-reject-and-handle.html:29)
13 console-promise-reject-and-handle.html:37 onrejectionhandled2 14 console-promise-reject-and-handle.html:37 onrejectionhandled2
14 ----console messages end---- 15 ----console messages end----
15 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698