I fixed a Gecko/IME race condition in bug 769520 that was the likely cause of most of the mysterious selection IndexOutOfBoundsExceptions thrown from android.text.SpannableStringBuilder.
To test my hypothesis, I would like to disable GeckoInputConnection's clampSelection() code and watch Socorro topcrashes for IndexOutOfBoundsExceptions regressions. If the exceptions do not return, I'd like to remove the clampSelection() code.
Created attachment 644015 [details] [diff] [review]
Remove some clampSelection() calls to test whether IndexOutOfBoundsExceptions have been fixed by bug 769520.