summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/runtime/evaluate-with-generate-preview.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/inspector/runtime/evaluate-with-generate-preview.js')
-rw-r--r--deps/v8/test/inspector/runtime/evaluate-with-generate-preview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/inspector/runtime/evaluate-with-generate-preview.js b/deps/v8/test/inspector/runtime/evaluate-with-generate-preview.js
index 1387413344..8ea0ea4faf 100644
--- a/deps/v8/test/inspector/runtime/evaluate-with-generate-preview.js
+++ b/deps/v8/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(){};
@@ -62,10 +62,10 @@ Object.defineProperty(parentObj, 'propNotNamedProto', {
set: function() {}
});
var objInheritsGetterProperty = {__proto__: parentObj};
-allowAccessorFormatting(objInheritsGetterProperty);
+inspector.allowAccessorFormatting(objInheritsGetterProperty);
`);
-InspectorTest.setupInjectedScriptEnvironment();
+contextGroup.setupInjectedScriptEnvironment();
InspectorTest.runTestSuite([
function testObjectPropertiesPreview(next)