Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Issue 2617583003: Make ImeTest wait for insertion handle to be shown (Closed)

Created:
3 years, 11 months ago by amaralp
Modified:
3 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
amaralp
PTAL
3 years, 11 months ago (2017-01-05 18:36:21 UTC) #12
aelias_OOO_until_Jul13
lgtm
3 years, 11 months ago (2017-01-06 01:57:49 UTC) #13
yabinh
non-owner lgtm. Thanks!
3 years, 11 months ago (2017-01-06 10:38:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2617583003/20001
3 years, 11 months ago (2017-01-06 17:42:48 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 17:52:00 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/37c0c94ce99fb212021274dc1a7a...

Powered by Google App Engine
This is Rietveld 408576698