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