summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 16:35:49 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 16:35:49 +0000
commit7f37dd931e8f0512d215ddbc16c4e1e714d39d9d (patch)
treea25943da348d0e3945e90a75175a82295f66a857 /chrome/test/ui_test_utils.h
parentd8107dbea736450d8fe5e20f939824bc614dd449 (diff)
downloadchromium_src-7f37dd931e8f0512d215ddbc16c4e1e714d39d9d.zip
chromium_src-7f37dd931e8f0512d215ddbc16c4e1e714d39d9d.tar.gz
chromium_src-7f37dd931e8f0512d215ddbc16c4e1e714d39d9d.tar.bz2
This CL adds a test to insure we are not regressing on http://crbug.com/19941
We would crash when an SSL error would happen on a page with no navigation entry. TEST=Run the test. BUG=http://crbug.com/19941 Review URL: http://codereview.chromium.org/196115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.h')
-rw-r--r--chrome/test/ui_test_utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h
index 94e4235..b623027 100644
--- a/chrome/test/ui_test_utils.h
+++ b/chrome/test/ui_test_utils.h
@@ -49,6 +49,12 @@ void WaitForNavigation(NavigationController* controller);
void WaitForNavigations(NavigationController* controller,
int number_of_navigations);
+// Waits for a new tab to be added to |browser|.
+void WaitForNewTab(Browser* browser);
+
+// Waits for a load stop for the specified |controller|.
+void WaitForLoadStop(NavigationController* controller);
+
// Navigates the selected tab of |browser| to |url|, blocking until the
// navigation finishes.
void NavigateToURL(Browser* browser, const GURL& url);