Commit a6b7f492 authored by Owen Min's avatar Owen Min Committed by Commit Bot

Disable VisualPropertiesPropagation_DisplayMode

Disable RenderWidgetHostViewChildFrameBrowserTest.
VisualPropertiesPropagation_DisplayMode on Mac and Linux due to flaky.

Bug: 1126153
Tbr: kenrb@chromium.org
Change-Id: If31a8b4ede074539f250b2869307e36add8b4c1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2399302Reviewed-by: default avatarOwen Min <zmin@chromium.org>
Commit-Queue: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805058}
parent 52dceba6
...@@ -428,8 +428,16 @@ class DisplayModeControllingWebContentsDelegate : public WebContentsDelegate { ...@@ -428,8 +428,16 @@ class DisplayModeControllingWebContentsDelegate : public WebContentsDelegate {
// TODO(crbug.com/1060336): Unlike most VisualProperties, the DisplayMode does // TODO(crbug.com/1060336): Unlike most VisualProperties, the DisplayMode does
// not propagate down the tree of RenderWidgets, but is sent independently to // not propagate down the tree of RenderWidgets, but is sent independently to
// each RenderWidget. // each RenderWidget.
// Disable the test due to flaky, https://crbug.com/1126153
#if defined(OS_MAC) || defined(OS_LINUX)
#define MAYBE_VisualPropertiesPropagation_DisplayMode \
DISABLED_VisualPropertiesPropagation_DisplayMode
#else
#define MAYBE_VisualPropertiesPropagation_DisplayMode \
VisualPropertiesPropagation_DisplayMode
#endif
IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewChildFrameBrowserTest, IN_PROC_BROWSER_TEST_F(RenderWidgetHostViewChildFrameBrowserTest,
VisualPropertiesPropagation_DisplayMode) { MAYBE_VisualPropertiesPropagation_DisplayMode) {
GURL main_url(embedded_test_server()->GetURL( GURL main_url(embedded_test_server()->GetURL(
"a.com", "/cross_site_iframe_factory.html?a(a,b)")); "a.com", "/cross_site_iframe_factory.html?a(a,b)"));
EXPECT_TRUE(NavigateToURL(shell(), main_url)); EXPECT_TRUE(NavigateToURL(shell(), main_url));
......
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