Commit 8b681365 authored by Andy Paicu's avatar Andy Paicu Committed by Commit Bot

Disabled ChromeSitePerProcessTest.TabCloseWithCrossSiteBeforeUnloadIframe

TBR=alexmos@chromium.org

Bug: 1021895
Change-Id: I94ca6541149962bddcce3a9989c163930427501e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1901073Reviewed-by: default avatarAndy Paicu <andypaicu@chromium.org>
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712970}
parent 358f6bf3
...@@ -1605,10 +1605,18 @@ IN_PROC_BROWSER_TEST_F(ChromeSitePerProcessTest, ...@@ -1605,10 +1605,18 @@ IN_PROC_BROWSER_TEST_F(ChromeSitePerProcessTest,
EXPECT_FALSE(frame_c_popup_opened); EXPECT_FALSE(frame_c_popup_opened);
} }
// Flaky on Linux and ChromeOS (crbug.com/1021895)
#if defined(OS_LINUX) || defined(OS_CHROMEOS)
#define MAYBE_TabCloseWithCrossSiteBeforeUnloadIframe \
DISABLED_TabCloseWithCrossSiteBeforeUnloadIframe
#else
#define MAYBE_TabCloseWithCrossSiteBeforeUnloadIframe \
TabCloseWithCrossSiteBeforeUnloadIframe
#endif
// Tests that a cross-site iframe runs its beforeunload handler when closing a // Tests that a cross-site iframe runs its beforeunload handler when closing a
// tab. See https://crbug.com/853021. // tab. See https://crbug.com/853021.
IN_PROC_BROWSER_TEST_F(ChromeSitePerProcessTest, IN_PROC_BROWSER_TEST_F(ChromeSitePerProcessTest,
TabCloseWithCrossSiteBeforeUnloadIframe) { MAYBE_TabCloseWithCrossSiteBeforeUnloadIframe) {
TabStripModel* tab_strip_model = browser()->tab_strip_model(); TabStripModel* tab_strip_model = browser()->tab_strip_model();
content::WebContents* first_web_contents = content::WebContents* first_web_contents =
tab_strip_model->GetActiveWebContents(); tab_strip_model->GetActiveWebContents();
......
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