Index: chrome/test/ui/fast_shutdown_uitest.cc |
diff --git a/chrome/test/ui/fast_shutdown_uitest.cc b/chrome/test/ui/fast_shutdown_uitest.cc |
index 6cb01aad30b16ef8955eba43b42a271276601fb4..f7c9ab83cc0528c9cbaa4d81a05b83fed43b463e 100644 |
--- a/chrome/test/ui/fast_shutdown_uitest.cc |
+++ b/chrome/test/ui/fast_shutdown_uitest.cc |
@@ -18,10 +18,17 @@ |
class FastShutdown : public UITest { |
}; |
+#if defined(OS_MACOSX) |
+// SimulateOSClick is broken on the Mac: http://crbug.com/45162 |
+#define MAYBE_SlowTermination DISABLED_SlowTermination |
+#else |
+#define MAYBE_SlowTermination SlowTermination |
+#endif |
+ |
// This tests for a previous error where uninstalling an onbeforeunload |
// handler would enable fast shutdown even if an onUnload handler still |
// existed. |
-TEST_F(FastShutdown, DISABLED_SlowTermination) { |
+TEST_F(FastShutdown, MAYBE_SlowTermination) { |
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); |
ASSERT_TRUE(browser.get()); |
scoped_refptr<WindowProxy> window(browser->GetWindow()); |