Chromium Code Reviews

Unified Diff: test/inspector/debugger/eval-scopes.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/inspector/debugger/eval-scopes.js
diff --git a/test/inspector/debugger/eval-scopes.js b/test/inspector/debugger/eval-scopes.js
index 46e0c4b5a7a7340574941737a245e3f23ebd438e..e5a0f131b479eb6ec9bff5a92db95c2e66455618 100644
--- a/test/inspector/debugger/eval-scopes.js
+++ b/test/inspector/debugger/eval-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 variables introduced in eval scopes are accessible');
+
+contextGroup.addScript(
`function testNonEmptyEvalScope() {
eval("'use strict'; var hest = 420; debugger;");
}

Powered by Google App Engine