Index: test/inspector/debugger/inspector-break-api.js |
diff --git a/test/inspector/debugger/inspector-break-api.js b/test/inspector/debugger/inspector-break-api.js |
index 02f68ba40f20a0821c2c2992c8541ff28659d7e9..178da5b0279e9834f319bbd7807adddbe7f23b24 100644 |
--- a/test/inspector/debugger/inspector-break-api.js |
+++ b/test/inspector/debugger/inspector-break-api.js |
@@ -33,17 +33,17 @@ InspectorTest.runTestSuite([ |
}, |
function testSchedulePauseOnNextStatement(next) { |
- utils.schedulePauseOnNextStatement('reason', JSON.stringify({a: 42})); |
+ InspectorTest.contextGroup.schedulePauseOnNextStatement('reason', JSON.stringify({a: 42})); |
Protocol.Runtime.evaluate({ expression: 'foo()//# sourceURL=expr1.js'}) |
.then(() => Protocol.Runtime.evaluate({ |
expression: 'foo()//# sourceURL=expr2.js'})) |
- .then(() => utils.cancelPauseOnNextStatement()) |
+ .then(() => InspectorTest.contextGroup.cancelPauseOnNextStatement()) |
.then(next); |
}, |
function testCancelPauseOnNextStatement(next) { |
- utils.schedulePauseOnNextStatement('reason', JSON.stringify({a: 42})); |
- utils.cancelPauseOnNextStatement(); |
+ InspectorTest.contextGroup.schedulePauseOnNextStatement('reason', JSON.stringify({a: 42})); |
+ InspectorTest.contextGroup.cancelPauseOnNextStatement(); |
Protocol.Runtime.evaluate({ expression: 'foo()'}) |
.then(next); |
} |