blob: 5a355ff4660cf71f1f688b9d6efeb3efa6398005 [file] [log] [blame]
Tests the coverage list view after finishing recording in the Coverage view.
.../inspector/coverage/resources/coverage.js JS used: 277 unused: 125 total: 402
.../inspector/coverage/resources/highlight-in-source.css CSS used: 90 unused: 119 total: 209
0: + body {
1: + background-color: lightblue;
2: + }
3:
4: + .class {
5: + color: red;
6: + }
7:
8: - .class2 {
9: - color:green;
10: - font-style: italic;
11: - }
12:
13: + #id {
14: + color: blue
15: + }
16:
17: - notUsed {
18: - color: black
19: - }
20:
21: - notUsed2 {
22: - color: white
23: - }
0: + function outer(index) {
1:
2: - function inner1(a) {
3: - return a + 1;
4: - }
5:
6: + function inner2(a) {
7: + return a + 2;
8: + }
9:
10: + function inner3(a) { return a + 3; } function inner4(a) { return a + 4; } function inner5(a) { return a + 5; }
11:
12: + return [inner1, inner2, inner3, inner4, inner5][index];
13: + }
14:
15: + function performActions() {
16: + return outer(1)(0) + outer(3)(0);
17: + } function outer2() {
18: - return outer(0)(0);
19: - }
20: