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(); |
} |