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

Side by Side Diff: test/inspector/debugger/framework-stepping.js

Issue 2832723004: [test/inspector] remove any usage of v8::Extension (Closed)
Patch Set: a Created 3 years, 8 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 InspectorTest.log('Checks stepping with blackboxed frames on stack'); 5 InspectorTest.log('Checks stepping with blackboxed frames on stack');
6 6
7 InspectorTest.addScript( 7 InspectorTest.addScript(
8 ` 8 `
9 function frameworkCall(funcs) { 9 function frameworkCall(funcs) {
10 for (var f of funcs) f(); 10 for (var f of funcs) f();
11 } 11 }
12 12
13 function frameworkBreakAndCall(funcs) { 13 function frameworkBreakAndCall(funcs) {
14 breakProgram('', ''); 14 inspector.breakProgram('', '');
15 for (var f of funcs) f(); 15 for (var f of funcs) f();
16 } 16 }
17 //# sourceURL=framework.js`, 17 //# sourceURL=framework.js`,
18 8, 4); 18 8, 4);
19 19
20 InspectorTest.addScript( 20 InspectorTest.addScript(
21 ` 21 `
22 function userFoo() { 22 function userFoo() {
23 return 1; 23 return 1;
24 } 24 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 InspectorTest.logCallFrames(message.params.callFrames); 104 InspectorTest.logCallFrames(message.params.callFrames);
105 InspectorTest.log(''); 105 InspectorTest.log('');
106 action = actions.shift() || 'resume'; 106 action = actions.shift() || 'resume';
107 } 107 }
108 if (action) InspectorTest.log(`Executing ${action}...`); 108 if (action) InspectorTest.log(`Executing ${action}...`);
109 Protocol.Debugger[action](); 109 Protocol.Debugger[action]();
110 }); 110 });
111 return Protocol.Runtime.evaluate( 111 return Protocol.Runtime.evaluate(
112 {expression: entryExpression + '//# sourceURL=expr.js'}); 112 {expression: entryExpression + '//# sourceURL=expr.js'});
113 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698