DescriptionMacViews: Allow the BridgedNativeWidgetTest to focus its textfield
Some tests regressed in r316774 because the way edit commands were
dispatched in BridgedContentView changed from going directly to the
TextInputClient to instead go through the InputMethod.
r316774 included a check added to views::Textfield to ensure any
scheduled edit command had been processed before scheduling a new one.
Some tests failed that check: Because the textfield did not have focus,
the dispatch of the event that would commit the edit command was not
being received.
This CL ensures the textfield requests focus in the test.
Fixes (mac-only) views_unittests:
BridgedNativeWidgetTest.TextInput_MoveLeftRight
BridgedNativeWidgetTest.TextInput_DeleteBackward
BridgedNativeWidgetTest.TextInput_DeleteForward
BUG=454353
Committed: https://crrev.com/6d2b33248c109d735b041eed2e8229fa0c95d4cf
Cr-Commit-Position: refs/heads/master@{#317715}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|