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

Unified Diff: test/inspector/debugger/framework-nested-scheduled-break.js

Issue 2832723004: [test/inspector] remove any usage of v8::Extension (Closed)
Patch Set: ac 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 side-by-side diff with in-line comments
Download patch
Index: test/inspector/debugger/framework-nested-scheduled-break.js
diff --git a/test/inspector/debugger/framework-nested-scheduled-break.js b/test/inspector/debugger/framework-nested-scheduled-break.js
index bb1e47199caeafe375868d46391728419ef96029..4c28300a7372f2ddf5b7415a800f8aa57bc2e411 100644
--- a/test/inspector/debugger/framework-nested-scheduled-break.js
+++ b/test/inspector/debugger/framework-nested-scheduled-break.js
@@ -6,30 +6,30 @@ InspectorTest.log('Checks nested scheduled break in framework code.');
InspectorTest.addScript(`
function frameworkCall(callback) {
- callWithScheduledBreak(doFrameworkWork.bind(null, callback),
+ inspector.callWithScheduledBreak(doFrameworkWork.bind(null, callback),
'top-framework-scheduled-break',
JSON.stringify({ data: 'data for top-framework-scheduled-break' }));
}
function doFrameworkWork(callback) {
- callWithScheduledBreak(doFrameworkBreak, 'should-not-be-a-reason', '');
+ inspector.callWithScheduledBreak(doFrameworkBreak, 'should-not-be-a-reason', '');
callback();
}
function doFrameworkBreak() {
- breakProgram('framework-break', JSON.stringify({ data: 'data for framework-break' }));
+ inspector.breakProgram('framework-break', JSON.stringify({ data: 'data for framework-break' }));
}
//# sourceURL=framework.js`, 7, 26);
InspectorTest.addScript(`
function testFunction() {
- callWithScheduledBreak(frameworkCall.bind(null, callback),
+ inspector.callWithScheduledBreak(frameworkCall.bind(null, callback),
'top-scheduled-break', '');
}
function callback() {
- breakProgram('user-break', JSON.stringify({ data: 'data for user-break' }));
+ inspector.breakProgram('user-break', JSON.stringify({ data: 'data for user-break' }));
return 42;
}

Powered by Google App Engine
This is Rietveld 408576698