Index: chrome/browser/unload_browsertest.cc |
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc |
index 6b50fa4c5ebb745291735cd17ce9e31b941e36d1..92a2c1b618e0a861bfdbf4fcea7cc6afb1a72a00 100644 |
--- a/chrome/browser/unload_browsertest.cc |
+++ b/chrome/browser/unload_browsertest.cc |
@@ -32,11 +32,6 @@ |
#include "net/test/url_request/url_request_mock_http_job.h" |
#include "net/url_request/url_request_test_util.h" |
-#if defined(OS_WIN) |
-// For version specific disabled tests below (http://crbug.com/267597). |
-#include "base/win/windows_version.h" |
-#endif |
- |
using base::TimeDelta; |
using content::BrowserThread; |
@@ -761,12 +756,8 @@ IN_PROC_BROWSER_TEST_F(FastUnloadTest, PRE_ClosingLastTabFinishesUnload) { |
} |
// Fails on Mac, Linux, Win7 (http://crbug.com/301173). |
+// Flaky on Windows bots (http://crbug.com/267597). |
IN_PROC_BROWSER_TEST_F(FastUnloadTest, DISABLED_ClosingLastTabFinishesUnload) { |
-#if defined(OS_WIN) |
- // Flaky on Win7+ bots (http://crbug.com/267597). |
- if (base::win::GetVersion() >= base::win::VERSION_WIN7) |
- return; |
-#endif |
// Check for cookie set in unload handler of PRE_ test. |
NavigateToPage("no_listeners"); |
EXPECT_EQ("unloaded=ohyeah", GetCookies("no_listeners")); |