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..ea7989425411b53da3c06d1512e518db36653195 100644 |
--- a/chrome/browser/extensions/window_open_apitest.cc |
+++ b/chrome/browser/extensions/window_open_apitest.cc |
@@ -402,6 +402,13 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_WindowOpener) { |
ASSERT_TRUE(RunExtensionTest("window_open/opener")) << message_; |
} |
+// 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, 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) { |