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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/exception-objects-expected.txt

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: worklets! Created 4 years, 4 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
(Empty)
1 CONSOLE ERROR: line 8: Uncaught Error: error_text
2 CONSOLE ERROR: line 13: Uncaught [object Object]
3 CONSOLE ERROR: line 18: Uncaught 42
4 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>
7 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object>
8 Tests that expressions have thrown objects.
9
10 setTimeout(throwError, 0); undefined
11 undefined
12 foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4
13 throwError();
14 foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4(anonymous function) @ VM:1
15 setTimeout(throwObject, 0); undefined
16 undefined
17 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9
18 throwObject();
19 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9(anonymous function) @ VM: 1
20 setTimeout(throwNumber, 0); undefined
21 undefined
22 foo.js:14 Uncaught 42throwNumber @ foo.js:14
23 throwNumber();
24 foo.js:14 Uncaught 42throwNumber @ foo.js:14(anonymous function) @ VM:1
25 setTimeout(rejectWithError, 0); undefined
26 undefined
27 foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js: 19
28 rejectWithError();
29 undefined
30 foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js: 19(anonymous function) @ VM:1
31 setTimeout(rejectWithObject, 0); undefined
32 undefined
33 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24
34 rejectWithObject();
35 undefined
36 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24(anony mous function) @ VM:1
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698