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

Unified Diff: test/inspector/runtime/console-time-end-format.js

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased Created 3 years, 10 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
« no previous file with comments | « test/inspector/runtime/console-methods.js ('k') | test/inspector/runtime/es6-module.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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\')'}));
}
« no previous file with comments | « test/inspector/runtime/console-methods.js ('k') | test/inspector/runtime/es6-module.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698