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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/coverage/gutter-js-expected.txt

Issue 2865573003: DevTools: support live coverage (Closed)
Patch Set: minor polish on corner cases Created 3 years, 7 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 PASS 1 PASS
2 2
3 Tests the coverage highlight in sources after the recording finishes. 3 Tests the coverage highlight in sources after the recording finishes.
4 4
5 0: + function outer(index) { 5 0: + function outer(index) {
6 1: + 6 1: -
7 2: * function inner1(a) { 7 2: - function inner1(a) {
8 3: - return a + 1; 8 3: - return a + 1;
9 4: * } 9 4: - }
10 5: + 10 5: -
11 6: + function inner2(a) { 11 6: + function inner2(a) {
12 7: + return a + 2; 12 7: + return a + 2;
13 8: + } 13 8: + }
14 9: + 14 9: -
15 10: * function inner3(a) { return a + 3; } function inner4(a) { return a + 4; } function inner5(a) { return a + 5; } 15 10: + function inner3(a) { return a + 3; } function inner4(a) { return a + 4; } function inner5(a) { return a + 5; }
16 11: + 16 11: -
17 12: + return [inner1, inner2, inner3, inner4, inner5][index]; 17 12: + return [inner1, inner2, inner3, inner4, inner5][index];
18 13: * } 18 13: + }
19 14: - 19 14: -
20 15: * function performActions() { 20 15: + function performActions() {
21 16: + return outer(1)(0) + outer(3)(0); 21 16: + return outer(1)(0) + outer(3)(0);
22 17: * } function outer2() { 22 17: + } function outer2() {
23 18: - return outer(0)(0); 23 18: - return outer(0)(0);
24 19: - } 24 19: - }
25 20: - 25 20: -
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698