Bug 634555: sync with the Gecko event queue at the end of onTextChanged, r=mwu,blassey, a=blocking-fennec:2.0,blassey

This commit is contained in:
Brian Crowder
2011-03-02 12:23:02 -05:00
parent 22c424dd43
commit f537a16a77
7 changed files with 64 additions and 8 deletions

View File

@@ -561,9 +561,10 @@ public class GeckoInputConnection
GeckoAppShell.sendEventToGecko(
new GeckoEvent(GeckoEvent.IME_SET_SELECTION, start + count, 0));
}
// Block this thread until all pending events are processed
GeckoAppShell.geckoEventSync();
}
public void afterTextChanged(Editable s)