Chromium Code Reviews

Unified Diff: test/inspector/debugger/call-frame-function-location.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/call-frame-function-location.js
diff --git a/test/inspector/debugger/call-frame-function-location.js b/test/inspector/debugger/call-frame-function-location.js
index c91164a037bf0ea10c332b8e1797d95870ceccd3..4775b30f6d7ca4f11e7a4f541d50d5a48cd99b35 100644
--- a/test/inspector/debugger/call-frame-function-location.js
+++ b/test/inspector/debugger/call-frame-function-location.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 function location in call frames is correct');
+
+contextGroup.addScript(
`function testFunction()
{
var a = 2;

Powered by Google App Engine