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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/exception-objects-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 ERROR: line 8: Uncaught Error: error_text 1 CONSOLE ERROR: line 8: Uncaught Error: error_text
2 CONSOLE ERROR: line 13: Uncaught [object Object] 2 CONSOLE ERROR: line 13: Uncaught [object Object]
3 CONSOLE ERROR: line 18: Uncaught 42 3 CONSOLE ERROR: line 18: Uncaught 42
4 CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error 4 CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error
5 CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error 5 CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error
6 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object> 6 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object>
7 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object> 7 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object>
8 Tests that expressions have thrown objects. 8 Tests that expressions have thrown objects.
9 9
10 setTimeout(throwError, 0); undefined 10 setTimeout(throwError, 0); undefined
11 undefined 11 undefined
12 foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4 12 foo.js:4 Uncaught Error: error_text
13 at throwError (foo.js:4)throwError @ foo.js:4
13 throwError(); 14 throwError();
14 foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4(anonymous function) @ VM:1 15 foo.js:4 Uncaught Error: error_text
16 at throwError (foo.js:4)
17 at <anonymous>:1:1throwError @ foo.js:4(anonymous function) @ VM:1
15 setTimeout(throwObject, 0); undefined 18 setTimeout(throwObject, 0); undefined
16 undefined 19 undefined
17 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9 20 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9
18 throwObject(); 21 throwObject();
19 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9(anonymous function) @ VM: 1 22 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9(anonymous function) @ VM: 1
20 setTimeout(throwNumber, 0); undefined 23 setTimeout(throwNumber, 0); undefined
21 undefined 24 undefined
22 foo.js:14 Uncaught 42throwNumber @ foo.js:14 25 foo.js:14 Uncaught 42throwNumber @ foo.js:14
23 throwNumber(); 26 throwNumber();
24 foo.js:14 Uncaught 42throwNumber @ foo.js:14(anonymous function) @ VM:1 27 foo.js:14 Uncaught 42throwNumber @ foo.js:14(anonymous function) @ VM:1
25 setTimeout(rejectWithError, 0); undefined 28 setTimeout(rejectWithError, 0); undefined
26 undefined 29 undefined
27 foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js: 19 30 foo.js:19 Uncaught (in promise) Error: promise_error
31 at rejectWithError (foo.js:19)rejectWithError @ foo.js:19
28 rejectWithError(); 32 rejectWithError();
29 undefined 33 undefined
30 foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js: 19(anonymous function) @ VM:1 34 foo.js:19 Uncaught (in promise) Error: promise_error
35 at rejectWithError (foo.js:19)
36 at <anonymous>:1:1rejectWithError @ foo.js:19(anonymous function) @ VM:1
31 setTimeout(rejectWithObject, 0); undefined 37 setTimeout(rejectWithObject, 0); undefined
32 undefined 38 undefined
33 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24 39 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24
34 rejectWithObject(); 40 rejectWithObject();
35 undefined 41 undefined
36 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24(anony mous function) @ VM:1 42 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24(anony mous function) @ VM:1
37 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698