Bug 932145 - Mochitest support for Keyboard/IME API. r=fabrice