Index: test/inspector/cpu-profiler/console-profile.js |
diff --git a/test/inspector/cpu-profiler/console-profile.js b/test/inspector/cpu-profiler/console-profile.js |
index b8e36b686138b3ca469f68220df3e8601047ec8c..9aa7542cea422a00a1e0d4bd4b594b04fb2b69d3 100644 |
--- a/test/inspector/cpu-profiler/console-profile.js |
+++ b/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"); |