summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-10 00:29:27 +0000
committerjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-10 00:29:27 +0000
commit7806b3cfc15a32f3847088f09528afd5c6f98cd1 (patch)
treed587d11fee115a234182bbb14f424cfb91c8ae2b /chrome
parentf017d8da88460724e9405c3c61e346ecca36a1a2 (diff)
downloadchromium_src-7806b3cfc15a32f3847088f09528afd5c6f98cd1.zip
chromium_src-7806b3cfc15a32f3847088f09528afd5c6f98cd1.tar.gz
chromium_src-7806b3cfc15a32f3847088f09528afd5c6f98cd1.tar.bz2
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
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/extensions/extension_api_client_unittest.cc8
1 files changed, 7 insertions, 1 deletions
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'.");