[embedlite] fix text events for predictive text input
[xulrunner] Sync with upstream. Merge remote-tracking branch 'origin/embedlite_31' into nemo_embedlite_31