OLD | NEW |
1 | 1 |
2 Tests the coverage list view after finishing recording in the Coverage view. | 2 Tests the coverage list view after finishing recording in the Coverage view. |
3 | 3 |
4 .../inspector/coverage/resources/coverage.js JS used: 277 unused: 125 total: 402 | 4 .../inspector/coverage/resources/coverage.js JS used: 277 unused: 125 total: 402 |
5 .../inspector/coverage/resources/highlight-in-source.css CSS used: 90 unused: 11
9 total: 209 | 5 .../inspector/coverage/resources/highlight-in-source.css CSS used: 90 unused: 11
9 total: 209 |
6 0: + body { | 6 0: + body { |
7 1: + background-color: lightblue; | 7 1: + background-color: lightblue; |
8 2: * } | 8 2: + } |
9 3: - | 9 3: - |
10 4: * .class { | 10 4: + .class { |
11 5: + color: red; | 11 5: + color: red; |
12 6: * } | 12 6: + } |
13 7: - | 13 7: - |
14 8: - .class2 { | 14 8: - .class2 { |
15 9: - color:green; | 15 9: - color:green; |
16 10: - font-style: italic; | 16 10: - font-style: italic; |
17 11: - } | 17 11: - } |
18 12: - | 18 12: - |
19 13: * #id { | 19 13: + #id { |
20 14: + color: blue | 20 14: + color: blue |
21 15: * } | 21 15: + } |
22 16: - | 22 16: - |
23 17: - notUsed { | 23 17: - notUsed { |
24 18: - color: black | 24 18: - color: black |
25 19: - } | 25 19: - } |
26 20: - | 26 20: - |
27 21: - notUsed2 { | 27 21: - notUsed2 { |
28 22: - color: white | 28 22: - color: white |
29 23: - } | 29 23: - } |
30 0: + function outer(index) { | 30 0: + function outer(index) { |
31 1: + | 31 1: - |
32 2: * function inner1(a) { | 32 2: - function inner1(a) { |
33 3: - return a + 1; | 33 3: - return a + 1; |
34 4: * } | 34 4: - } |
35 5: + | 35 5: - |
36 6: + function inner2(a) { | 36 6: + function inner2(a) { |
37 7: + return a + 2; | 37 7: + return a + 2; |
38 8: + } | 38 8: + } |
39 9: + | 39 9: - |
40 10: * function inner3(a) { return a + 3; } function inner4(a) { return a + 4;
} function inner5(a) { return a + 5; } | 40 10: + function inner3(a) { return a + 3; } function inner4(a) { return a + 4;
} function inner5(a) { return a + 5; } |
41 11: + | 41 11: - |
42 12: + return [inner1, inner2, inner3, inner4, inner5][index]; | 42 12: + return [inner1, inner2, inner3, inner4, inner5][index]; |
43 13: * } | 43 13: + } |
44 14: - | 44 14: - |
45 15: * function performActions() { | 45 15: + function performActions() { |
46 16: + return outer(1)(0) + outer(3)(0); | 46 16: + return outer(1)(0) + outer(3)(0); |
47 17: * } function outer2() { | 47 17: + } function outer2() { |
48 18: - return outer(0)(0); | 48 18: - return outer(0)(0); |
49 19: - } | 49 19: - } |
50 20: - | 50 20: - |
51 | 51 |
OLD | NEW |