diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 16:56:15 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 16:56:15 +0000 |
commit | a5684464f46687c95ff8e62b48de4d09b914873d (patch) | |
tree | 3d031c62d81954fc1504ae6c2d870c24e0908733 | |
parent | add8582104c3bb4849c9855553a194f4c506a720 (diff) | |
download | chromium_src-a5684464f46687c95ff8e62b48de4d09b914873d.zip chromium_src-a5684464f46687c95ff8e62b48de4d09b914873d.tar.gz chromium_src-a5684464f46687c95ff8e62b48de4d09b914873d.tar.bz2 |
Experiment with startup tests and file urls.
For extensions purposes, content scripts don't see any DOM when running on the existing empty.html file.
We're curious if using an html file with a real (but empty) body makes any difference in startup time for the extensions tests.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/332003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29899 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/data/simple.html | 3 | ||||
-rw-r--r-- | chrome/test/startup/startup_test.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/chrome/test/data/simple.html b/chrome/test/data/simple.html new file mode 100644 index 0000000..dfc2bc2 --- /dev/null +++ b/chrome/test/data/simple.html @@ -0,0 +1,3 @@ +<html> +<body></body> +</html> diff --git a/chrome/test/startup/startup_test.cc b/chrome/test/startup/startup_test.cc index 385b592..4f23ee0 100644 --- a/chrome/test/startup/startup_test.cc +++ b/chrome/test/startup/startup_test.cc @@ -32,7 +32,7 @@ class StartupTest : public UITest { void SetUpWithFileURL() { FilePath file_url; ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &file_url)); - file_url = file_url.AppendASCII("empty.html"); + file_url = file_url.AppendASCII("simple.html"); ASSERT_TRUE(file_util::PathExists(file_url)); launch_arguments_.AppendLooseValue(file_url.ToWStringHack()); |