Index: test/inspector/runtime/console-time-end-format.js |
diff --git a/test/inspector/runtime/console-time-end-format.js b/test/inspector/runtime/console-time-end-format.js |
index 77e7b55831e5f9a991ca5ba38e18bbdd6d17a79c..c87f672e2c558eea136f6613d2a0d40ede49ac91 100644 |
--- a/test/inspector/runtime/console-time-end-format.js |
+++ b/test/inspector/runtime/console-time-end-format.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-print('Checks format of console.timeEnd output'); |
+InspectorTest.log('Checks format of console.timeEnd output'); |
Protocol.Runtime.enable(); |
Protocol.Runtime.onConsoleAPICalled(message => { |
@@ -34,12 +34,12 @@ InspectorTest.runTestSuite([ |
]); |
function checkInterval(time) { |
- setCurrentTimeMSForTest(0.0); |
+ utils.setCurrentTimeMSForTest(0.0); |
return Protocol.Runtime.evaluate({ |
expression: `console.log('js: ' + ${time} + 'ms')`}) |
.then(() => Protocol.Runtime.evaluate({ |
expression: 'console.time(\'timeEnd\')'})) |
- .then(() => setCurrentTimeMSForTest(time)) |
+ .then(() => utils.setCurrentTimeMSForTest(time)) |
.then(() => Protocol.Runtime.evaluate({ |
expression: 'console.timeEnd(\'timeEnd\')'})); |
} |