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

Unified Diff: test/inspector/runtime/console-log-doesnt-run-microtasks.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/console-log-doesnt-run-microtasks.js
diff --git a/test/inspector/runtime/console-log-doesnt-run-microtasks.js b/test/inspector/runtime/console-log-doesnt-run-microtasks.js
index 832086846920b41943ad9e4d725aa979f5e0b132..c24e92876ce3af3081b2c8aa39a99b221b06fcea 100644
--- a/test/inspector/runtime/console-log-doesnt-run-microtasks.js
+++ b/test/inspector/runtime/console-log-doesnt-run-microtasks.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 console.log doesn't run microtasks.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Check that console.log doesn't run microtasks.");
-InspectorTest.addScript(
+contextGroup.addScript(
`
function testFunction()
{

Powered by Google App Engine
This is Rietveld 408576698