Index: test/inspector/runtime/clear-of-command-line-api.js |
diff --git a/test/inspector/runtime/clear-of-command-line-api.js b/test/inspector/runtime/clear-of-command-line-api.js |
index e8e8513204d25279c8617f18638b6746b57561e5..d67a1c54475a409774df7fab0110bbe7d66edbd0 100644 |
--- a/test/inspector/runtime/clear-of-command-line-api.js |
+++ b/test/inspector/runtime/clear-of-command-line-api.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("Tests that CommandLineAPI is presented only while evaluation."); |
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that CommandLineAPI is presented only while evaluation."); |
-InspectorTest.addScript( |
+contextGroup.addScript( |
` |
var methods = ["dir","dirxml","profile","profileEnd","clear","table","keys","values","debug","undebug","monitor","unmonitor","inspect","copy"]; |
var window = this; |