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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/main/Timer.js

Issue 2837083003: DevTools: create test infrastructure so devtools drives the test (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 /**
2 * @param {string} label
3 */
4 Main.time = function(label) {
dgozman 2017/04/25 21:08:28 Merge this into Main.js.
chenwilliam 2017/06/15 01:01:05 Done.
5 if (Host.isUnderTest())
6 return;
7 console.time(label);
8 };
9
10 /**
11 * @param {string} label
12 */
13 Main.timeEnd = function(label) {
14 if (Host.isUnderTest())
15 return;
16 console.timeEnd(label);
17 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698