Index: test/inspector/heap-profiler/take-heap-snapshot-on-pause.js |
diff --git a/test/inspector/heap-profiler/take-heap-snapshot-on-pause.js b/test/inspector/heap-profiler/take-heap-snapshot-on-pause.js |
index a5aa5a9a5dbccb9a08de2eb4ffe22f3b462a2866..4e4bc400b59de0b43a51252018f7c36e60dd6901 100644 |
--- a/test/inspector/heap-profiler/take-heap-snapshot-on-pause.js |
+++ b/test/inspector/heap-profiler/take-heap-snapshot-on-pause.js |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-InspectorTest.log('Checks that takeHeapSnapshot uses empty accessing_context for access \ |
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks that takeHeapSnapshot uses empty accessing_context for access \ |
checks.'); |
-InspectorTest.addScript(` |
+contextGroup.addScript(` |
function testFunction() { |
var array = [ inspector.createObjectWithStrictCheck() ]; |
debugger; |