Index: test/inspector/runtime/evaluate-with-generate-preview.js |
diff --git a/test/inspector/runtime/evaluate-with-generate-preview.js b/test/inspector/runtime/evaluate-with-generate-preview.js |
index 7a70f560bb7a1b584f7eb354ab044b0247c437ad..8ea0ea4faff285e945826b888f59e9adac3bc5f9 100644 |
--- a/test/inspector/runtime/evaluate-with-generate-preview.js |
+++ b/test/inspector/runtime/evaluate-with-generate-preview.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("Tests that Runtime.evaluate will generate correct previews."); |
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that Runtime.evaluate will generate correct previews."); |
-InspectorTest.addScript( |
+contextGroup.addScript( |
` |
var f1 = function(){}; |
@@ -65,7 +65,7 @@ var objInheritsGetterProperty = {__proto__: parentObj}; |
inspector.allowAccessorFormatting(objInheritsGetterProperty); |
`); |
-InspectorTest.setupInjectedScriptEnvironment(); |
+contextGroup.setupInjectedScriptEnvironment(); |
InspectorTest.runTestSuite([ |
function testObjectPropertiesPreview(next) |