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 6function seconds(s) { 7 return s * 1000; 8} 9 10// Convert minutes to milliseconds 11function minutes(m) { 12 return seconds(m * 60); 13} 14 15var test_time_ms = minutes(60); 16var test_startup_delay = seconds(5); 17var should_scroll = true; 18var should_scroll_up = true; 19var scroll_loop = false; 20var scroll_interval_ms = 10000; 21var scroll_by_pixels = 600; 22