зеркало из https://github.com/mozilla/gecko-dev.git
e0b2f3e09c
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 |
||
---|---|---|
.. | ||
browser | ||
moz.build |