Commit 1d8c6afd authored by Guido Urdaneta's avatar Guido Urdaneta Committed by Commit Bot

Disable flaky FindInPageTest.SelectionRestoreOnTabSwitch on Windows

TBR=finnur@chromium.org

Bug: 792313
Change-Id: Ia48dbdf710a3898fe1393404402295884d8e9c98
Reviewed-on: https://chromium-review.googlesource.com/1049554Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556744}
parent 3431b89c
......@@ -275,7 +275,13 @@ IN_PROC_BROWSER_TEST_F(FindInPageTest, FocusRestore) {
EXPECT_TRUE(IsViewFocused(browser(), VIEW_ID_OMNIBOX));
}
IN_PROC_BROWSER_TEST_F(FindInPageTest, SelectionRestoreOnTabSwitch) {
// Flaky on Windows. https://crbug.com/792313
#if defined(OS_WIN)
#define MAYBE_SelectionRestoreOnTabSwitch DISABLED_SelectionRestoreOnTabSwitch
#else
#define MAYBE_SelectionRestoreOnTabSwitch SelectionRestoreOnTabSwitch
#endif
IN_PROC_BROWSER_TEST_F(FindInPageTest, MAYBE_SelectionRestoreOnTabSwitch) {
// Mac intentionally changes selection on focus.
if (views::PlatformStyle::kTextfieldScrollsToStartOnFocusChange)
return;
......
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