Commit 56f8e4f5 authored by Dominique Fauteux-Chapleau's avatar Dominique Fauteux-Chapleau Committed by Commit Bot

Disable DoNotReloadHiddenTabWithHiddenCrashedSubframe on Mac

TBR=alexmos@chromium.org

Bug: 1135595, 1010119
Change-Id: I709eb629f6781529a523f52c6a414052804ccf4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2453429Reviewed-by: default avatarDominique Fauteux-Chapleau <domfc@chromium.org>
Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814322}
parent c20eb6ac
......@@ -13841,8 +13841,16 @@ IN_PROC_BROWSER_TEST_P(SitePerProcessBrowserTestWithSadFrameTabReload,
// Verify that hidden tabs with a crashed subframe are not marked for reload
// when the crashed subframe is hidden with "display:none".
// Flaky on Mac, see crbug.com/1135595
#if defined(OS_MAC)
#define MAYBE_DoNotReloadHiddenTabWithHiddenCrashedSubframe \
DISABLED_DoNotReloadHiddenTabWithHiddenCrashedSubframe
#else
#define MAYBE_DoNotReloadHiddenTabWithHiddenCrashedSubframe \
DoNotReloadHiddenTabWithHiddenCrashedSubframe
#endif
IN_PROC_BROWSER_TEST_P(SitePerProcessBrowserTestWithSadFrameTabReload,
DoNotReloadHiddenTabWithHiddenCrashedSubframe) {
MAYBE_DoNotReloadHiddenTabWithHiddenCrashedSubframe) {
// Set WebContents to VISIBLE to avoid hitting the |!did_first_set_visible_|
// case when we hide it later.
web_contents()->UpdateWebContentsVisibility(Visibility::VISIBLE);
......
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