summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_focus_uitest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 16:31:45 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 16:31:45 +0000
commit042d43e781c4df7ac89d28b3e5ddd095d63ccc7e (patch)
tree9e45ed3f3f9860a2203d50a11bfaa601b2d7db52 /chrome/browser/browser_focus_uitest.cc
parentfd8e2ab74720d47e3011e314826ed8822841404c (diff)
downloadchromium_src-042d43e781c4df7ac89d28b3e5ddd095d63ccc7e.zip
chromium_src-042d43e781c4df7ac89d28b3e5ddd095d63ccc7e.tar.gz
chromium_src-042d43e781c4df7ac89d28b3e5ddd095d63ccc7e.tar.bz2
Re-enable some focus UI tests. These failed for unknown reasons with a funny
error from the notification service. This error seems to be fixed. BUG=15265 Test=This is a test Review URL: http://codereview.chromium.org/155858 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_focus_uitest.cc')
-rw-r--r--chrome/browser/browser_focus_uitest.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/browser_focus_uitest.cc b/chrome/browser/browser_focus_uitest.cc
index e8269e0..1133152 100644
--- a/chrome/browser/browser_focus_uitest.cc
+++ b/chrome/browser/browser_focus_uitest.cc
@@ -238,8 +238,7 @@ IN_PROC_BROWSER_TEST_F(BrowserFocusTest, TabsRememberFocus) {
}
// Background window does not steal focus.
-// TODO(brettw) bug 15265 enable this test when it's fixed.
-IN_PROC_BROWSER_TEST_F(BrowserFocusTest, DISABLED_BackgroundBrowserDontStealFocus) {
+IN_PROC_BROWSER_TEST_F(BrowserFocusTest, BackgroundBrowserDontStealFocus) {
HTTPTestServer* server = StartHTTPServer();
// First we navigate to our test page.
@@ -609,8 +608,7 @@ IN_PROC_BROWSER_TEST_F(BrowserFocusTest, FindFocusTest) {
// Makes sure the focus is in the right location when opening the different
// types of tabs.
-// TODO(brettw) bug 15265 enable this test when it's fixed.
-IN_PROC_BROWSER_TEST_F(BrowserFocusTest, DISABLED_TabInitialFocus) {
+IN_PROC_BROWSER_TEST_F(BrowserFocusTest, TabInitialFocus) {
HWND hwnd = reinterpret_cast<HWND>(browser()->window()->GetNativeHandle());
BrowserView* browser_view = BrowserView::GetBrowserViewForNativeWindow(hwnd);
ASSERT_TRUE(browser_view);