diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:32:58 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:32:58 +0000 |
commit | 2e028a0889a45e034177aedca54fc01b9f9166b0 (patch) | |
tree | 10852c98cc87363680f26ddcbf22127849843f31 /chrome/test/memory_test | |
parent | 081f1cec17b1fd8054b532ac2b82b13b739c9949 (diff) | |
download | chromium_src-2e028a0889a45e034177aedca54fc01b9f9166b0.zip chromium_src-2e028a0889a45e034177aedca54fc01b9f9166b0.tar.gz chromium_src-2e028a0889a45e034177aedca54fc01b9f9166b0.tar.bz2 |
Add automation call to wait for multiple navigations.
Convert one ErrorPage UI test to use it.
The rest of the tests will require more work.
TEST=Covered by ui_tests.
http://crbug.com/19361, http://crbug.com/19395
Review URL: http://codereview.chromium.org/174015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/memory_test')
-rw-r--r-- | chrome/test/memory_test/memory_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/memory_test/memory_test.cc b/chrome/test/memory_test/memory_test.cc index 47ac960..2bd8d1b 100644 --- a/chrome/test/memory_test/memory_test.cc +++ b/chrome/test/memory_test/memory_test.cc @@ -249,7 +249,7 @@ class MemoryTest : public UITest { const int kMaxWaitTime = 5000; bool timed_out = false; - tab->NavigateToURLWithTimeout(GURL(urls[counter]), kMaxWaitTime, + tab->NavigateToURLWithTimeout(GURL(urls[counter]), 1, kMaxWaitTime, &timed_out); if (timed_out) printf("warning: %s timed out!\n", urls[counter].c_str()); |