gecko-dev/mobile
Makoto Kato e0b2f3e09c Bug 1572728 - Sync Gecko's selection for sendKey test of testInputConnection. r=geckoview-reviewers,snorp
Actually, `assertTextAndSelectionAt` checks Java side text and selection only.
So even if `assertTextAndSelectionAt` is successful, Gecko's text and selection
aren't updated yet. Since `sendKeyEvent` test uses both Gecko's selection and
Java's selection, this has timing issue. Since `sendKeyEvent` uses Gecko's
selection for insertion point, we have to sync Java's selection with Gecko's
selection. But since there is no way to sync it, this sendKey test may be failure.

To sync both data, this test should always use key event to update both Gecko
side and Java side correctly. GV's test uses Gecko's selection, so this issue
is robocop test only.

Differential Revision: https://phabricator.services.mozilla.com/D42599

--HG--
extra : moz-landing-system : lando
2019-08-22 17:45:21 +00:00
..
android Bug 1572728 - Sync Gecko's selection for sendKey test of testInputConnection. r=geckoview-reviewers,snorp 2019-08-22 17:45:21 +00:00
locales Bug 1559975 - fix python2 linter errors in mobile r=ahal 2019-07-16 17:46:25 +00:00