Commit 9f01504e authored by jennb@chromium.org's avatar jennb@chromium.org

Re-enable ExtensionApiTest.UpdateWindowShowState on Windows.

The fixed window size was too small for a tabbed browser window,
causing the window to grow after being restored.

BUG=105356
TEST=ExtensionApiTest.UpdateWindowShowState

Review URL: http://codereview.chromium.org/8762006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112816 0039d316-1c4b-4281-b951-d872f2087c98
parent b93210a6
...@@ -31,16 +31,9 @@ ...@@ -31,16 +31,9 @@
#else #else
#define MAYBE_FocusWindowDoesNotExitFullscreen FocusWindowDoesNotExitFullscreen #define MAYBE_FocusWindowDoesNotExitFullscreen FocusWindowDoesNotExitFullscreen
#define MAYBE_UpdateWindowSizeExitsFullscreen UpdateWindowSizeExitsFullscreen #define MAYBE_UpdateWindowSizeExitsFullscreen UpdateWindowSizeExitsFullscreen
// http://crbug.com/105356 , this test is failing browser_tests on Windows.
#if defined(OS_WIN)
#define MAYBE_UpdateWindowShowState FAILS_UpdateWindowShowState
#else
#define MAYBE_UpdateWindowShowState UpdateWindowShowState #define MAYBE_UpdateWindowShowState UpdateWindowShowState
#endif #endif
#endif
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Tabs) { IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Tabs) {
// The test creates a tab and checks that the URL of the new tab // The test creates a tab and checks that the URL of the new tab
// is that of the new tab page. Make sure the pref that controls // is that of the new tab page. Make sure the pref that controls
......
...@@ -63,7 +63,7 @@ function minimizeWindow(theWindow) { ...@@ -63,7 +63,7 @@ function minimizeWindow(theWindow) {
function testWindowState(windowType) { function testWindowState(windowType) {
// Specifying size prevents 'panel' windows from computing size asynchronously. It ensures // Specifying size prevents 'panel' windows from computing size asynchronously. It ensures
// panel sizes stay fixed through the test. // panel sizes stay fixed through the test.
chrome.windows.create({'url': 'hello.html', 'type': windowType, 'width':100, 'height':100 }, chrome.windows.create({'url': 'hello.html', 'type': windowType, 'width':200, 'height':300 },
pass(minimizeWindow)); pass(minimizeWindow));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment