Commit 385f5463 authored by Alice Boxhall's avatar Alice Boxhall Committed by Commit Bot

Disable ConstrainedWebDialogBrowserTest.ReleaseWebContents on Linux

TBR=sky@chromium.org


Bug: 928924
Change-Id: I71b6615a8855bbb76b0807ecd5abb6153441b9a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1892233Reviewed-by: default avatarAlice Boxhall <aboxhall@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711144}
parent 5a0adcbe
...@@ -122,8 +122,15 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWebDialogBrowserTest, BasicTest) { ...@@ -122,8 +122,15 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWebDialogBrowserTest, BasicTest) {
EXPECT_TRUE(IsShowingWebContentsModalDialog(web_contents)); EXPECT_TRUE(IsShowingWebContentsModalDialog(web_contents));
} }
// TODO(https://crbug.com/1020038): Crashy on Linux
#if defined(OS_LINUX)
#define MAYBE_ReleaseWebContents DISABLED_ReleaseWebContents
#else
#define MAYBE_ReleaseWebContents ReleaseWebContents
#endif
// Tests that ReleaseWebContents() works. // Tests that ReleaseWebContents() works.
IN_PROC_BROWSER_TEST_F(ConstrainedWebDialogBrowserTest, ReleaseWebContents) { IN_PROC_BROWSER_TEST_F(ConstrainedWebDialogBrowserTest,
MAYBE_ReleaseWebContents) {
auto delegate = std::make_unique<ui::test::TestWebDialogDelegate>( auto delegate = std::make_unique<ui::test::TestWebDialogDelegate>(
GURL(chrome::kChromeUIConstrainedHTMLTestURL)); GURL(chrome::kChromeUIConstrainedHTMLTestURL));
WebContents* web_contents = WebContents* web_contents =
......
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