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

Side by Side Diff: test/inspector/debugger/get-possible-breakpoints-restrict-to-function.js

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased 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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 print('Checks Debugger.getPossibleBreakpoints with ignoreNestedFunctions'); 5 InspectorTest.log('Checks Debugger.getPossibleBreakpoints with ignoreNestedFunct ions');
6 6
7 var source = ` 7 var source = `
8 function test() { 8 function test() {
9 Array.from([1,2]).map(() => 1).filter(() => true); 9 Array.from([1,2]).map(() => 1).filter(() => true);
10 function nested1() { 10 function nested1() {
11 Array.from([1,2]).map(() => 1).filter(() => true); 11 Array.from([1,2]).map(() => 1).filter(() => true);
12 } 12 }
13 function nested2() { 13 function nested2() {
14 Array.from([1,2]).map(() => 1).filter(() => true); 14 Array.from([1,2]).map(() => 1).filter(() => true);
15 } 15 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 var lineNumber = location.lineNumber 111 var lineNumber = location.lineNumber
112 var columnNumber = location.columnNumber; 112 var columnNumber = location.columnNumber;
113 113
114 var line = sourceLines[lineNumber]; 114 var line = sourceLines[lineNumber];
115 line = line.slice(0, columnNumber) + '^' + line.slice(columnNumber); 115 line = line.slice(0, columnNumber) + '^' + line.slice(columnNumber);
116 sourceLines[lineNumber] = line; 116 sourceLines[lineNumber] = line;
117 InspectorTest.log(sourceLines.join('\n')); 117 InspectorTest.log(sourceLines.join('\n'));
118 InspectorTest.log(''); 118 InspectorTest.log('');
119 Protocol.Debugger.resume(); 119 Protocol.Debugger.resume();
120 } 120 }
OLDNEW
« no previous file with comments | « test/inspector/debugger/get-possible-breakpoints-master.js ('k') | test/inspector/debugger/inspector-break-api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698