diff options
author | aberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 14:42:52 +0000 |
---|---|---|
committer | aberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 14:42:52 +0000 |
commit | 27d8784756a46970086dca49b041e2c851178748 (patch) | |
tree | 5b4fca5a189fa080282bab20d983b8396aa236ae | |
parent | 208078249a7b28f11447aeac21390bac354fc45a (diff) | |
download | chromium_src-27d8784756a46970086dca49b041e2c851178748.zip chromium_src-27d8784756a46970086dca49b041e2c851178748.tar.gz chromium_src-27d8784756a46970086dca49b041e2c851178748.tar.bz2 |
Re-enable startup tests
The Android startup tests need statup_test_common to run. This was lost in the reorganization of the Android repositories for Chrome.
BUG=137007
Review URL: https://chromiumcodereview.appspot.com/11342041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164917 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | tools/page_cycler/startup_test_common/README | 4 | ||||
-rw-r--r-- | tools/page_cycler/startup_test_common/blank.html | 5 | ||||
-rw-r--r-- | tools/page_cycler/startup_test_common/head.js | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tools/page_cycler/startup_test_common/README b/tools/page_cycler/startup_test_common/README new file mode 100644 index 0000000..4054b08 --- /dev/null +++ b/tools/page_cycler/startup_test_common/README @@ -0,0 +1,4 @@ +This directory is meant to override the common/ directory in order to allow +page cycler data to be used for startup tests. It works primarily by +substituting head.js for a version that doesn't redirect to the next page in the +suite and instead only performs a consle.log() when the page has loaded. diff --git a/tools/page_cycler/startup_test_common/blank.html b/tools/page_cycler/startup_test_common/blank.html new file mode 100644 index 0000000..acb46db --- /dev/null +++ b/tools/page_cycler/startup_test_common/blank.html @@ -0,0 +1,5 @@ +<script> + window.onload = function() { + console.log("PAGE_ONLOAD_EVENT" + location.hash); + }; +</script> diff --git a/tools/page_cycler/startup_test_common/head.js b/tools/page_cycler/startup_test_common/head.js new file mode 100644 index 0000000..768ec54 --- /dev/null +++ b/tools/page_cycler/startup_test_common/head.js @@ -0,0 +1,7 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +window.onload = function() { + console.log("PAGE_ONLOAD_EVENT" + location.hash); +}; |