Commit aa6cf600 authored by Joshua Pawlicki's avatar Joshua Pawlicki Committed by Commit Bot

Disable flaky InlineLoginUISafeIframeBrowserTest.NoWebUIInIframe on Mac.

TBR=msarda@chromium.org

Bug: 1021209
Change-Id: I16d475a6b4aa70b891eccc6ba47fadc171078de8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898201Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712745}
parent 5d7a97e5
......@@ -789,9 +789,16 @@ IN_PROC_BROWSER_TEST_F(InlineLoginUISafeIframeBrowserTest, Basic) {
ui_test_utils::NavigateToURL(browser(), content::GetWebUIURL("foo/"));
}
// Flaky on MacOS - crbug.com/1021209
#if defined(OS_MACOSX)
#define MAYBE_NoWebUIInIframe DISABLED_NoWebUIInIframe
#else
#define MAYBE_NoWebUIInIframe NoWebUIInIframe
#endif
// Make sure that the foo webui handler does not get created when we try to
// load it inside the iframe of the login ui.
IN_PROC_BROWSER_TEST_F(InlineLoginUISafeIframeBrowserTest, NoWebUIInIframe) {
IN_PROC_BROWSER_TEST_F(InlineLoginUISafeIframeBrowserTest,
MAYBE_NoWebUIInIframe) {
GURL url = GetSigninPromoURL().Resolve(
"?source=0&access_point=0&reason=5&frameUrl=chrome://foo");
EXPECT_CALL(foo_provider(), NewWebUI(_, _)).Times(0);
......
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