summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/cpu-profiler/console-profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/inspector/cpu-profiler/console-profile.js')
-rw-r--r--deps/v8/test/inspector/cpu-profiler/console-profile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/inspector/cpu-profiler/console-profile.js b/deps/v8/test/inspector/cpu-profiler/console-profile.js
index b8e36b6861..9aa7542cea 100644
--- a/deps/v8/test/inspector/cpu-profiler/console-profile.js
+++ b/deps/v8/test/inspector/cpu-profiler/console-profile.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 console.profile/profileEnd will record CPU profile when inspector front-end is connected.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that console.profile/profileEnd will record CPU profile when inspector front-end is connected.");
-InspectorTest.addScript(`
+contextGroup.addScript(`
function collectProfiles()
{
console.profile("outer");