Index: chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc |
diff --git a/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc b/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc |
index 6a01a1da89d441685dc02258d841b3e8362c8234..e11a1e086a847af9da869f6f90cbe0d000b56652 100644 |
--- a/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc |
+++ b/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc |
@@ -250,8 +250,16 @@ IN_PROC_BROWSER_TEST_F(PopupBlockerBrowserTest, |
DontCheckTitle); |
} |
+#if defined(OS_MACOSX) && defined(ADDRESS_SANITIZER) |
+// Flaky on ASAN on Mac. See https://crbug.com/674497. |
+#define MAYBE_BlockWebContentsCreationIncognito \ |
+ DISABLED_BlockWebContentsCreationIncognito |
+#else |
+#define MAYBE_BlockWebContentsCreationIncognito \ |
+ BlockWebContentsCreationIncognito |
+#endif |
IN_PROC_BROWSER_TEST_F(PopupBlockerBrowserTest, |
- BlockWebContentsCreationIncognito) { |
+ MAYBE_BlockWebContentsCreationIncognito) { |
RunCheckTest( |
CreateIncognitoBrowser(), |
"/popup_blocker/popup-blocked-to-post-blank.html", |