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

Side by Side Diff: client/site_tests/power_LoadTest/extension/params.js

Issue 6675052: power_LoadTest: Add parameter for custom tasks (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git
Patch Set: More cleanups Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var test_time_ms = 60 * 60 * 1000; 5 // Convert seconds to milliseconds
6 var test_startup_delay = 5 * 1000; 6 function seconds(s) {
7 return s * 1000;
8 }
9
10 // Convert minutes to milliseconds
11 function minutes(m) {
12 return seconds(m * 60);
13 }
14
15 var test_time_ms = minutes(60);
16 var test_startup_delay = seconds(5);
7 var should_scroll = true; 17 var should_scroll = true;
8 var should_scroll_up = true; 18 var should_scroll_up = true;
9 var scroll_loop = false; 19 var scroll_loop = false;
10 var scroll_interval_ms = 1000; 20 var scroll_interval_ms = 1000;
11 var scroll_by_pixels = 600; 21 var scroll_by_pixels = 600;
OLDNEW
« no previous file with comments | « client/site_tests/power_LoadTest/extension/background.html ('k') | client/site_tests/power_LoadTest/extension/testparams.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698