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

Unified Diff: test/inspector/runtime/evaluate-empty-stack.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-empty-stack.js
diff --git a/test/inspector/runtime/evaluate-empty-stack.js b/test/inspector/runtime/evaluate-empty-stack.js
index 0147401112476be4627224bf1dc1aafe1cda7403..c09dfd18b84ee86c674c773d98b897e7e1b72c8b 100644
--- a/test/inspector/runtime/evaluate-empty-stack.js
+++ b/test/inspector/runtime/evaluate-empty-stack.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 works with an empty stack");
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that Runtime.evaluate works with an empty stack");
-InspectorTest.addScript("var text = [48116210, 34460128, 1406661984071834]");
+contextGroup.addScript("var text = [48116210, 34460128, 1406661984071834]");
var message = { expression: "text.map(x => x.toString(36)).join(' ')" };

Powered by Google App Engine
This is Rietveld 408576698