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

Unified Diff: test/inspector/debugger/eval-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/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;");
}
« no previous file with comments | « test/inspector/debugger/es6-module-set-script-source.js ('k') | test/inspector/debugger/eval-scopes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698