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

Unified Diff: test/inspector/runtime/runtime-restore.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/runtime/runtime-restore.js
diff --git a/test/inspector/runtime/runtime-restore.js b/test/inspector/runtime/runtime-restore.js
index 4020c19f81cb8c4d3f131e8e9722732841fab022..09e44677e5c13a58255f421d3aa0d90887e2d321 100644
--- a/test/inspector/runtime/runtime-restore.js
+++ b/test/inspector/runtime/runtime-restore.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.v8
-InspectorTest.log('Checks that Runtime agent correctly restore its state.');
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks that Runtime agent correctly restore its state.');
-InspectorTest.addScript(`
+contextGroup.addScript(`
var formatter = {
header: function(x)
{
@@ -73,5 +73,5 @@ InspectorTest.runTestSuite([
function reconnect() {
InspectorTest.logMessage('will reconnect..');
- InspectorTest.session.reconnect();
+ session.reconnect();
}
« no previous file with comments | « test/inspector/runtime/runtime-evaluate-with-dirty-context.js ('k') | test/inspector/runtime/set-or-map-entries.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698