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

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

Issue 2890463004: [inspector] Refactor inspector test (Closed)
Patch Set: better crash fix Created 3 years, 7 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-break.js
diff --git a/test/inspector/debugger/framework-break.js b/test/inspector/debugger/framework-break.js
index fc9eef166fec984142539cff55ad0237962d8da2..287de8a7b55f270a7ade6283971e88e809fa8e22 100644
--- a/test/inspector/debugger/framework-break.js
+++ b/test/inspector/debugger/framework-break.js
@@ -188,16 +188,16 @@ InspectorTest.runTestSuite([
},
function testAsyncDOMBreakpoint(next) {
- utils.schedulePauseOnNextStatement('', '');
+ InspectorTest.contextGroup.schedulePauseOnNextStatement('', '');
InspectorTest.log('> all frames in framework:');
Protocol.Runtime
.evaluate(
{expression: 'asyncDOMBreakpoint()//# sourceURL=framework.js'})
- .then(() => utils.cancelPauseOnNextStatement())
+ .then(() => InspectorTest.contextGroup.cancelPauseOnNextStatement())
.then(
() => Protocol.Runtime.evaluate(
{expression: '42//# sourceURL=user.js'}))
- .then(() => utils.schedulePauseOnNextStatement('', ''))
+ .then(() => InspectorTest.contextGroup.schedulePauseOnNextStatement('', ''))
.then(
() => Protocol.Runtime.evaluate(
{expression: 'asyncDOMBreakpoint()//# sourceURL=user.js'}))
« no previous file with comments | « test/inspector/debugger/destory-in-break-program.js ('k') | test/inspector/debugger/framework-precise-ranges.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698