Index: chrome/browser/ui/webui/options/font_settings_browsertest.js |
diff --git a/chrome/browser/ui/webui/options/font_settings_browsertest.js b/chrome/browser/ui/webui/options/font_settings_browsertest.js |
index 6e419a207cfe0dfd5cfe4448369c7b120d92c14c..231d6da42556e564a9a263dc9f7abd820b33fd4c 100644 |
--- a/chrome/browser/ui/webui/options/font_settings_browsertest.js |
+++ b/chrome/browser/ui/webui/options/font_settings_browsertest.js |
@@ -41,8 +41,14 @@ FontSettingsWebUITest.prototype = { |
}, |
}; |
+// TODO(crbug.com/657514) Flakes on linux and chromeos. |
+GEN('#if defined(OS_LINUX) || defined(OS_CHROMEOS)'); |
+GEN('#define MAYBE_testOpenFontSettings DISABLED_testOpenFontSettings'); |
+GEN('#else'); |
+GEN('#define MAYBE_testOpenFontSettings testOpenFontSettings'); |
+GEN('#endif // defined(OS_WIN)'); |
// Test opening font settings has correct location. |
-TEST_F('FontSettingsWebUITest', 'testOpenFontSettings', function() { |
+TEST_F('FontSettingsWebUITest', 'MAYBE_testOpenFontSettings', function() { |
assertEquals(this.browsePreload, document.location.href); |
}); |