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

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

Issue 2742623002: DevTools: improve test infrastructure w/ devtools driving the test (Closed)
Patch Set: fixup Created 3 years, 9 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) {
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