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

Unified Diff: test/inspector/debugger/stepping-tail-call.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed 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/stepping-tail-call.js
diff --git a/test/inspector/debugger/stepping-tail-call.js b/test/inspector/debugger/stepping-tail-call.js
index 763b23b8a6baff5371e5fb707dcea66e377a3a3b..797df7d6751642709ad2ca04f6e7ab21f4277b6c 100644
--- a/test/inspector/debugger/stepping-tail-call.js
+++ b/test/inspector/debugger/stepping-tail-call.js
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.log('Checks stepping over tail calls.');
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks stepping over tail calls.');
-InspectorTest.setupScriptMap();
+session.setupScriptMap();
InspectorTest.logProtocolCommandCalls('Debugger.pause');
InspectorTest.logProtocolCommandCalls('Debugger.stepInto');
InspectorTest.logProtocolCommandCalls('Debugger.stepOver');
@@ -76,6 +76,6 @@ InspectorTest.runAsyncTestSuite([
]);
function logPauseLocation(message) {
- InspectorTest.logCallFrames(message.params.callFrames);
- return InspectorTest.logSourceLocation(message.params.callFrames[0].location);
+ session.logCallFrames(message.params.callFrames);
+ return session.logSourceLocation(message.params.callFrames[0].location);
}

Powered by Google App Engine
This is Rietveld 408576698