DescriptionMake ImeTest wait for insertion handle to be shown
The Ime test, testPastePopupShowAndHide, was flaking because of a race condition
where the paste popup menu was shown before the insertion handle was shown. This
is a problem because it allows the scenario:
1) Paste menu shown
2) Set composition
3) Insertion handle is shown
This causes the paste menu to not be hidden since setting the composition only
clears the menu by clearing the insertion handle. This CL makes setting the
composition wait for the insertion handle to be shown to guarantee this sequence:
1) Paste menu and insertion handle shown
2) Set composition
3) Insertion handle cleared
4) Paste menu hidden
BUG=661572
Review-Url: https://codereview.chromium.org/2617583003
Cr-Commit-Position: refs/heads/master@{#441971}
Committed: https://chromium.googlesource.com/chromium/src/+/37c0c94ce99fb212021274dc1a7a895649d4fc64
Patch Set 1 #Patch Set 2 : enable test #Messages
Total messages: 19 (14 generated)
|