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

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

Issue 2720713003: Adjust some tests to prepare enabling Ignition+TurboFan (Closed)
Patch Set: Turn off flag in this CL. Created 3 years, 9 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
11 // function without return 11 // function without return
12 function procedure() { 12 function procedure() {
13 var a = |_|1; 13 var a = |_|1;
14 var b = |_|2; 14 var b = |_|2;
15 |R|} 15 |R|}
16 16
17 function testProcedure() { 17 function testProcedure() {
18 |C|procedure(); 18 |C|procedure();
19 |R|} 19 |R|}
20 20
21 function returnTrue() { 21 function returnTrue() {
22 |_|return true; 22 |_|return true;
23 |R|} 23 |R|}
24 24
25 function testIf() { 25 function testIf() {
26 var a; 26 var a;
27 |_|if (true) |_|a = true; 27 if (true) |_|a = true;
28 |_|if (!a) { 28 |_|if (!a) {
29 |_|a = true; 29 |_|a = true;
30 } else { 30 } else {
31 |_|a = false; 31 |_|a = false;
32 } 32 }
33 |_|if (|C|returnTrue()) { 33 |_|if (|C|returnTrue()) {
34 |_|a = false; 34 |_|a = false;
35 } else { 35 } else {
36 |_|a = true; 36 |_|a = true;
37 } 37 }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
112 function testSimpleExpressions() { 112 function testSimpleExpressions() {
113 |_|1 + 2 + 3; 113 1 + 2 + 3;
114 var a = |_|1; 114 var a = |_|1;
115 |_|++a; 115 |_|++a;
116 |_|a--; 116 |_|a--;
117 |R|} 117 |R|}
118 118
119 Object.defineProperty(this, 'getterFoo', { 119 Object.defineProperty(this, 'getterFoo', {
120 get: () => |_|return42|R| 120 get: () => |_|return42|R|
121 }); 121 });
122 122
123 function testGetter() { 123 function testGetter() {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 |D|debugger; 165 |D|debugger;
166 |_|gen.|C|next().value; 166 |_|gen.|C|next().value;
167 |C|return42(); 167 |C|return42();
168 |_|gen.|C|next().value; 168 |_|gen.|C|next().value;
169 |C|return42(); 169 |C|return42();
170 |_|gen.|C|next().value; 170 |_|gen.|C|next().value;
171 |R|} 171 |R|}
172 172
173 function throwException() { 173 function throwException() {
174 |_|throw |C|new Error(); 174 |_|throw |C|new Error();
175 |R|} 175 }
176 176
177 function testCaughtException() { 177 function testCaughtException() {
178 try { 178 try {
179 |C|throwException() 179 |C|throwException()
180 } catch (e) { 180 } catch (e) {
181 |_|return; 181 |_|return;
182 } 182 }
183 |R|} 183 |R|}
184 184
185 function testClasses() { 185 function testClasses() {
(...skipping 75 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
« no previous file with comments | « test/inspector/debugger/get-possible-breakpoints-master.js ('k') | test/inspector/debugger/step-into.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698