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

Unified Diff: test/inspector/debugger/command-line-api-with-bound-function.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/debugger/command-line-api-with-bound-function.js
diff --git a/test/inspector/debugger/command-line-api-with-bound-function.js b/test/inspector/debugger/command-line-api-with-bound-function.js
index d857d4191d91871a3abafbb1ee5877373e733a77..3c00585d21ef00e95a612fbd2648e17d7f43fbe7 100644
--- a/test/inspector/debugger/command-line-api-with-bound-function.js
+++ b/test/inspector/debugger/command-line-api-with-bound-function.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("Check that debug and monitor methods from Command Line API works with bound function.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Check that debug and monitor methods from Command Line API works with bound function.");
-InspectorTest.addScript(`
+contextGroup.addScript(`
function foo() {}
function boo() {}
var bar = boo.bind(null);

Powered by Google App Engine
This is Rietveld 408576698