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

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

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased Created 3 years, 10 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 42cdcf76245ea695bd83bb5a5d8e70b5ddd815ce..1566c264a218f7b1b51073e540ac36886b613485 100644
--- a/test/inspector/debugger/framework-break.js
+++ b/test/inspector/debugger/framework-break.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax
-print('Checks that breaks in framework code correctly processed.');
+InspectorTest.log('Checks that breaks in framework code correctly processed.');
InspectorTest.addScript(`
function frameworkAssert() {
@@ -188,16 +188,16 @@ InspectorTest.runTestSuite([
},
function testAsyncDOMBreakpoint(next) {
- schedulePauseOnNextStatement('', '');
+ utils.schedulePauseOnNextStatement('', '');
InspectorTest.log('> all frames in framework:');
Protocol.Runtime
.evaluate(
{expression: 'asyncDOMBreakpoint()//# sourceURL=framework.js'})
- .then(() => cancelPauseOnNextStatement())
+ .then(() => utils.cancelPauseOnNextStatement())
.then(
() => Protocol.Runtime.evaluate(
{expression: '42//# sourceURL=user.js'}))
- .then(() => schedulePauseOnNextStatement('', ''))
+ .then(() => utils.schedulePauseOnNextStatement('', ''))
.then(
() => Protocol.Runtime.evaluate(
{expression: 'asyncDOMBreakpoint()//# sourceURL=user.js'}))
« no previous file with comments | « test/inspector/debugger/es6-module-set-script-source.js ('k') | test/inspector/debugger/framework-nested-scheduled-break.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698