Commit 20cea9c8 authored by Tim Schumann's avatar Tim Schumann Committed by Commit Bot

Disable WebNavigationApiTest.Crash for Windows debug builds.

BUG=974787
TBR=lukasza@chromium.org

Change-Id: I77c95bd9fd51a9bbced60c1c2bef4d2b261138e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662389Reviewed-by: default avatarTim Schumann <tschumann@chromium.org>
Commit-Queue: Tim Schumann <tschumann@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669671}
parent 1f197713
...@@ -570,8 +570,14 @@ IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, PendingDeletion) { ...@@ -570,8 +570,14 @@ IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, PendingDeletion) {
} }
// TODO(jam): http://crbug.com/350550 // TODO(jam): http://crbug.com/350550
#if !(defined(OS_CHROMEOS) && defined(ADDRESS_SANITIZER)) // TODO(crbug/974787): Flaky on Win7 debug builds.
IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Crash) { #if (defined(OS_CHROMEOS) && defined(ADDRESS_SANITIZER)) || \
(defined(OS_WIN) && !(defined(NDEBUG)))
#define MAYBE_Crash DISABLED_Crash
#else
#define MAYBE_Crash Crash
#endif
IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, MAYBE_Crash) {
content::ScopedAllowRendererCrashes scoped_allow_renderer_crashes; content::ScopedAllowRendererCrashes scoped_allow_renderer_crashes;
ASSERT_TRUE(StartEmbeddedTestServer()); ASSERT_TRUE(StartEmbeddedTestServer());
...@@ -600,6 +606,4 @@ IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Crash) { ...@@ -600,6 +606,4 @@ IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Crash) {
ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
} }
#endif
} // namespace extensions } // namespace extensions
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment