From 7806b3cfc15a32f3847088f09528afd5c6f98cd1 Mon Sep 17 00:00:00 2001 From: "jshin@chromium.org" Date: Thu, 10 Jun 2010 00:29:27 +0000 Subject: Mark ExtensionAPIClientTest.CreateWindow as flaky on Windows BUG=46217 TEST=greener tree TBR=jcivelli Review URL: http://codereview.chromium.org/2751004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49345 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/extensions/extension_api_client_unittest.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chrome/renderer/extensions') diff --git a/chrome/renderer/extensions/extension_api_client_unittest.cc b/chrome/renderer/extensions/extension_api_client_unittest.cc index c44f9ee..632557b 100644 --- a/chrome/renderer/extensions/extension_api_client_unittest.cc +++ b/chrome/renderer/extensions/extension_api_client_unittest.cc @@ -213,7 +213,13 @@ TEST_F(ExtensionAPIClientTest, DISABLED_GetAllWindows) { "windows.getAll", "null"); } -TEST_F(ExtensionAPIClientTest, CreateWindow) { +// Flaky on Windows. http://crosbug.com/46217 +#if defined(OS_WIN) +#define MAYBE_CreateWindow FLAKY_CreateWindow +#else +#define MAYBE_CreateWindow CreateWindow +#endif +TEST_F(ExtensionAPIClientTest, MAYBE_CreateWindow) { ExpectJsFail("chrome.windows.create({url: 1}, function(){});", "Uncaught Error: Invalid value for argument 0. Property " "'url': Expected 'string' but got 'integer'."); -- cgit v1.1