Index: chrome/browser/extensions/window_open_apitest.cc |
diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc |
index 5e2a0fce521f3c8bf94bff420e3d3c7fa6fa0ed0..ab823620585d9b0a1cc668b88eedbe07b24ed05a 100644 |
--- a/chrome/browser/extensions/window_open_apitest.cc |
+++ b/chrome/browser/extensions/window_open_apitest.cc |
@@ -402,6 +402,19 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_WindowOpener) { |
ASSERT_TRUE(RunExtensionTest("window_open/opener")) << message_; |
} |
+#if defined(OS_MACOSX) |
+// Extension popup windows are incorrectly sized on OSX, crbug.com/225601 |
+#define MAYBE_WindowOpenSized DISABLED_WindowOpenSized |
+#else |
+#define MAYBE_WindowOpenSized WindowOpenSized |
+#endif |
+// Ensure that the width and height properties of a window opened with |
+// chrome.windows.create match the creation parameters. See crbug.com/173831. |
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_WindowOpenSized) { |
+ ASSERT_TRUE(RunExtensionTest("window_open/window_size")) << message_; |
+ EXPECT_TRUE(WaitForTabsAndPopups(browser(), 0, 1, 0)); |
+} |
+ |
// Tests that an extension page can call window.open to an extension URL and |
// the new window has extension privileges. |
IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, WindowOpenExtension) { |