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

Side by Side Diff: test/inspector/debugger/get-possible-breakpoints-master-expected.txt

Issue 2893313002: [inspector] removed call break location from for-of loop (Closed)
Patch Set: removed call location 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 Checks Debugger.getPossibleBreakpoints 1 Checks Debugger.getPossibleBreakpoints
2 // Copyright 2017 the V8 project authors. All rights reserved. 2 // Copyright 2017 the V8 project authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 function testEval() { 6 function testEval() {
7 |C|eval('// comment only'); 7 |C|eval('// comment only');
8 |C|eval('// comment only\n'); 8 |C|eval('// comment only\n');
9 |R|} 9 |R|}
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 |R|} 89 |R|}
90 90
91 function testForLoop() { 91 function testForLoop() {
92 for (var i = |_|0; i |_|< 1; ++|_|i) {} 92 for (var i = |_|0; i |_|< 1; ++|_|i) {}
93 for (var i = |_|0; i |_|< 1; ++|_|i) |_|i; 93 for (var i = |_|0; i |_|< 1; ++|_|i) |_|i;
94 for (var i = |_|0; i |_|< 0; ++|_|i) {} 94 for (var i = |_|0; i |_|< 0; ++|_|i) {}
95 |R|} 95 |R|}
96 96
97 function testForOfLoop() { 97 function testForOfLoop() {
98 for (var k |C|of []) {} 98 for (var k |_|of []) {}
99 for (var k |C|of |_|[1]) |_|k; 99 for (var k |_|of |_|[1]) |_|k;
100 var a = |_|[]; 100 var a = |_|[];
101 for (var k |C|of |_|a) {} 101 for (var k |_|of |_|a) {}
102 |R|} 102 |R|}
103 103
104 function testForInLoop() { 104 function testForInLoop() {
105 var o = |_|{}; 105 var o = |_|{};
106 for (var |_|k in |_|o) {} 106 for (var |_|k in |_|o) {}
107 for (var |_|k in |_|o) |_|k; 107 for (var |_|k in |_|o) |_|k;
108 for (var |_|k in |_|{ a:1 }) {} 108 for (var |_|k in |_|{ a:1 }) {}
109 for (var |_|k in |_|{ a:1 }) |_|k; 109 for (var |_|k in |_|{ a:1 }) |_|k;
110 |R|} 110 |R|}
111 111
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 function twiceDefined() { 262 function twiceDefined() {
263 return a + b; 263 return a + b;
264 } 264 }
265 265
266 function twiceDefined() { 266 function twiceDefined() {
267 |_|return a + b; 267 |_|return a + b;
268 |R|} 268 |R|}
269 269
270 270
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698