DescriptionFix Windows InstantExtendedTest focus issues with OmniboxViewViews.
Four InstantExtendedTest interactive_ui_tests fail with Views Textfields.
interactive_ui_tests.exe --gtest_filter=InstantExtendedTest.* --enable-views-textfield
OmniboxFocusLoadsInstant, OmniboxTextUponFocusedCommittedSERP
NavigationSuggestionIsDiscardedUponSearchSuggestion, OmniboxHasFocusOnNewTab
Fix these tests by explicitly calling On[Will]KillFocus for the omnibox.
Add InstantExtendedTest::BlurOmniboxAndFocusContents helper function.
BUG=131660, 226189
TEST=InstantExtendedTest passes with --enable-views-textfield.
R=jered@chromium.org,sreeram@chromium.org
Abandoned in favor of sail's http://crrev.com/192645
Patch Set 1 #Patch Set 2 : Add BlurOmniboxAndFocusContents convenience function. #Patch Set 3 : Fix another focus failure that surfaced on Mac. #
Total comments: 6
Patch Set 4 : Restore BringBrowserWindowToFront calls; fix comment typo. #Messages
Total messages: 10 (0 generated)
|