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 3 // found in the LICENSE file. 4 5 // Convert seconds to milliseconds 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); 17 var should_scroll = true; 18 var should_scroll_up = true; 19 var scroll_loop = false; 20 var scroll_interval_ms = 10000; 21 var scroll_by_pixels = 600; 22