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

Unified Diff: test/inspector/debugger/suspended-generator-scopes.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/suspended-generator-scopes.js
diff --git a/test/inspector/debugger/suspended-generator-scopes.js b/test/inspector/debugger/suspended-generator-scopes.js
index edce5951ffc7bf39f01ce0d463ee1721e1f8fc33..f7d389072ad7b411d915c5f8daad6f2ce280684b 100644
--- a/test/inspector/debugger/suspended-generator-scopes.js
+++ b/test/inspector/debugger/suspended-generator-scopes.js
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.addScript(
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests that suspended generators produce scopes');
+
+contextGroup.addScript(
`function *gen(a) {
var b = 42;
yield a;

Powered by Google App Engine
This is Rietveld 408576698