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

Unified Diff: test/inspector/runtime/evaluate-with-generate-preview.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
Index: test/inspector/runtime/evaluate-with-generate-preview.js
diff --git a/test/inspector/runtime/evaluate-with-generate-preview.js b/test/inspector/runtime/evaluate-with-generate-preview.js
index 7a70f560bb7a1b584f7eb354ab044b0247c437ad..8ea0ea4faff285e945826b888f59e9adac3bc5f9 100644
--- a/test/inspector/runtime/evaluate-with-generate-preview.js
+++ b/test/inspector/runtime/evaluate-with-generate-preview.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 Runtime.evaluate will generate correct previews.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that Runtime.evaluate will generate correct previews.");
-InspectorTest.addScript(
+contextGroup.addScript(
`
var f1 = function(){};
@@ -65,7 +65,7 @@ var objInheritsGetterProperty = {__proto__: parentObj};
inspector.allowAccessorFormatting(objInheritsGetterProperty);
`);
-InspectorTest.setupInjectedScriptEnvironment();
+contextGroup.setupInjectedScriptEnvironment();
InspectorTest.runTestSuite([
function testObjectPropertiesPreview(next)
« no previous file with comments | « test/inspector/runtime/evaluate-with-context-id-equal-zero-expected.txt ('k') | test/inspector/runtime/exception-thrown.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698