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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4-expected.txt

Issue 2770123002: DevTools: produce javascript outline for javascript classess (Closed)
Patch Set: address comments Created 3 years, 8 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 Verify javascript outline 1 Verify javascript outline
2 2
3 3
4 Running: testAsyncFunction 4 Running: testAsyncFunction
5 Text: 5 Text:
6 async function foo() { } 6 async function foo() { }
7 Outline: 7 Outline:
8 foo():0:15 8 async foo():0:15
9
10 Running: testAsyncArrowFunction
11 Text:
12 var sum = async (x, y) => x + y;
13 Outline:
14 async sum(x, y):0:4
9 15
10 Running: testGeneratorFunction 16 Running: testGeneratorFunction
11 Text: 17 Text:
12 function* foo() { } 18 function* foo() { }
13 Outline: 19 Outline:
20 *foo():0:10
14 21
15 Running: testMismatchBrackets 22 Running: testMismatchBrackets
16 Text: 23 Text:
17 24
18 function foo(a, b) { 25 function foo(a, b) {
19 if (a > b) { 26 if (a > b) {
20 return a; 27 return a;
21 } 28 }
22 29
23 function bar(eee) { 30 function bar(eee) {
24 foo(eee, 2 * eee); 31 foo(eee, 2 * eee);
25 } 32 }
26 33
27 Outline: 34 Outline:
28 foo(a, b):1:9 35 foo(a, b):1:9
29 bar(eee):6:9 36 bar(eee):6:9
30 37
31 Running: testSyntaxError 38 Running: testSyntaxError
32 Text: 39 Text:
33 40
34 function notAGenerator(a, b) { 41 function notAGenerator(a, b) {
35 yield 10; 42 yield 10;
36 } 43 }
37 Outline: 44 Outline:
38 notAGenerator(a, b):1:9 45 notAGenerator(a, b):1:9
39 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698