Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: test/inspector/heap-profiler/take-heap-snapshot-on-pause.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/debugger/wasm-stepping-expected.txt ('k') | test/inspector/json-parse.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « test/inspector/debugger/wasm-stepping-expected.txt ('k') | test/inspector/json-parse.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698