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

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

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 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --turbo
6
5 InspectorTest.log('Checks Debugger.getPossibleBreakpoints'); 7 InspectorTest.log('Checks Debugger.getPossibleBreakpoints');
6 8
7 var source = utils.read('test/inspector/debugger/resources/break-locations.js'); 9 var source = utils.read('test/inspector/debugger/resources/break-locations.js');
8 InspectorTest.addScript(source); 10 InspectorTest.addScript(source);
9 11
10 Protocol.Debugger.onceScriptParsed() 12 Protocol.Debugger.onceScriptParsed()
11 .then(message => Protocol.Debugger.getPossibleBreakpoints({ start: { lineNumbe r: 0, columnNumber : 0, scriptId: message.params.scriptId }})) 13 .then(message => Protocol.Debugger.getPossibleBreakpoints({ start: { lineNumbe r: 0, columnNumber : 0, scriptId: message.params.scriptId }}))
12 .then(dumpAllLocations) 14 .then(dumpAllLocations)
13 .then(InspectorTest.completeTest); 15 .then(InspectorTest.completeTest);
14 Protocol.Debugger.enable(); 16 Protocol.Debugger.enable();
(...skipping 17 matching lines...) Expand all
32 InspectorTest.log(lines.join('\n')); 34 InspectorTest.log(lines.join('\n'));
33 return message; 35 return message;
34 } 36 }
35 37
36 function locationMark(type) { 38 function locationMark(type) {
37 if (type === 'return') return '|R|'; 39 if (type === 'return') return '|R|';
38 if (type === 'call') return '|C|'; 40 if (type === 'call') return '|C|';
39 if (type === 'debuggerStatement') return '|D|'; 41 if (type === 'debuggerStatement') return '|D|';
40 return '|_|'; 42 return '|_|';
41 } 43 }
OLDNEW
« no previous file with comments | « test/cctest/cctest.status ('k') | test/inspector/debugger/get-possible-breakpoints-master-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698