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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-eval-throw-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 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won 't crash the browser and correctly reported. Bug 59611. 1 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won 't crash the browser and correctly reported. Bug 59611.
2 2
3 3
4 Running: testThrowUndefined 4 Running: testThrowUndefined
5 throw undefined 5 throw undefined
6 VM:1 Uncaught undefined 6 VM:1 Uncaught undefined
7 (anonymous function) @ VM:1 7 (anonymous function) @ VM:1
8 8
9 Running: testThrowNumber 9 Running: testThrowNumber
10 throw 1 10 throw 1
11 VM:1 Uncaught 1 11 VM:1 Uncaught 1
12 (anonymous function) @ VM:1 12 (anonymous function) @ VM:1
13 13
14 Running: testThrowString 14 Running: testThrowString
15 throw 'asdf' 15 throw 'asdf'
16 VM:1 Uncaught asdf 16 VM:1 Uncaught asdf
17 (anonymous function) @ VM:1 17 (anonymous function) @ VM:1
18 18
19 Running: testThrowObject 19 Running: testThrowObject
20 throw {a:42} 20 throw {a:42}
21 VM:1 Uncaught Object {a: 42} 21 VM:1 Uncaught Object {a: 42}
22 (anonymous function) @ VM:1 22 (anonymous function) @ VM:1
23 23
24 Running: testThrowError 24 Running: testThrowError
25 throw new Error('asdf') 25 throw new Error('asdf')
26 VM:1 Uncaught Error: asdf(…) 26 VM:1 Uncaught Error: asdf
27 (anonymous function) @ VM:1 27 (anonymous function) @ VM:1
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698