author | Ting-Yu Chou <janus926@gmail.com> |
Thu, 09 Oct 2014 11:05:51 +0800 | |
changeset 209579 | 78627d76c4ecaaf1c78e2dec92ded6e035883bed |
parent 209578 | 986b480432804bee64cb9c8bd75bb01f22ade9c8 |
child 209580 | 9bdba7a66515c4a620e296e89c9c00814a795b6e |
push id | 1 |
push user | root |
push date | Mon, 20 Oct 2014 17:29:22 +0000 |
reviewers | yxl |
bugs | 1066515 |
milestone | 35.0a1 |
--- a/dom/inputmethod/mochitest/inputmethod_common.js +++ b/dom/inputmethod/mochitest/inputmethod_common.js @@ -26,10 +26,11 @@ function inputmethod_setup(callback) { ]; SpecialPowers.pushPrefEnv({set: prefs}, function() { SimpleTest.waitForFocus(callback); }); }); } function inputmethod_cleanup() { + SpecialPowers.wrap(navigator.mozInputMethod).setActive(false); SimpleTest.finish(); }