Index: content/browser/site_per_process_browsertest.cc |
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc |
index c40e43493b4acc6ba452f9fe704fa5ac4b59df18..dc4e69be905966d5a1d134c3c47c6a84b064130a 100644 |
--- a/content/browser/site_per_process_browsertest.cc |
+++ b/content/browser/site_per_process_browsertest.cc |
@@ -192,9 +192,14 @@ class SitePerProcessBrowserTest : public ContentBrowserTest { |
}; |
// Ensure that we can complete a cross-process subframe navigation. |
-// Crashes ChromeOS bot, but the bug is probably present on other platforms |
-// also. http://crbug.com/399775 |
-IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, DISABLED_CrossSiteIframe) { |
+// It fails on ChromeOS and Android, so disabled while investigating. |
+// http://crbug.com/399775 |
+#if defined(OS_ANDROID) || defined(OS_CHROMEOS) |
+#define MAYBE_CrossSiteIframe DISABLED_CrossSiteIframe |
+#else |
+#define MAYBE_CrossSiteIframe CrossSiteIframe |
+#endif |
+IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, MAYBE_CrossSiteIframe) { |
host_resolver()->AddRule("*", "127.0.0.1"); |
ASSERT_TRUE(test_server()->Start()); |
GURL main_url(test_server()->GetURL("files/site_per_process_main.html")); |