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

Unified Diff: test/inspector/runtime/set-or-map-entries.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/runtime/runtime-restore.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/set-or-map-entries.js
diff --git a/test/inspector/runtime/set-or-map-entries.js b/test/inspector/runtime/set-or-map-entries.js
index 300b84215483f2afc30458f3d326e0abaa19a9e6..4206c87de398273ef26c3b10f0a83efdc75396d5 100644
--- a/test/inspector/runtime/set-or-map-entries.js
+++ b/test/inspector/runtime/set-or-map-entries.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("Test that Runtime.getProperties doesn't truncate set and map entries in internalProperties.")
+let {session, contextGroup, Protocol} = InspectorTest.start("Test that Runtime.getProperties doesn't truncate set and map entries in internalProperties.")
-InspectorTest.addScript(`
+contextGroup.addScript(`
function createSet(size) {
var s = new Set();
var a = {};
@@ -22,7 +22,7 @@ InspectorTest.addScript(`
}
`);
-InspectorTest.setupInjectedScriptEnvironment();
+contextGroup.setupInjectedScriptEnvironment();
Protocol.Debugger.enable();
Protocol.Runtime.enable();
« no previous file with comments | « test/inspector/runtime/runtime-restore.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698