Backed out changeset d9eb3294e6d5 (bug 955965) for mochitest-3 test bustage
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 29 Apr 2014 10:29:00 +0200
changeset 181086 4cca5e45f4f9c795b8b7983df8df48538bfb3273
parent 181085 b9f981ab229c00e86aa19864c2c6ccdefd2f9a7a
child 181087 652501df07279981c11656a97e6b7b82e20ef420
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
bugs955965
milestone32.0a1
backs outd9eb3294e6d5a0e9c108b8b4541ab077cd329f39
Backed out changeset d9eb3294e6d5 (bug 955965) for mochitest-3 test bustage
dom/inputmethod/mochitest/mochitest.ini
dom/inputmethod/mochitest/test_inputMethodManager.html
--- a/dom/inputmethod/mochitest/mochitest.ini
+++ b/dom/inputmethod/mochitest/mochitest.ini
@@ -10,9 +10,8 @@ support-files =
 
 [test_basic.html]
 [test_bug944397.html]
 [test_bug949059.html]
 [test_bug960946.html]
 [test_bug978918.html]
 [test_delete_focused_element.html]
 [test_sendkey_cancel.html]
-[test_inputMethodManager.html]
deleted file mode 100644
--- a/dom/inputmethod/mochitest/test_inputMethodManager.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=955965
--->
-<head>
-  <title>Test for InputMethodManager</title>
-  <script type="application/javascript;version=1.7" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="application/javascript;version=1.7" src="inputmethod_common.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=955965">Mozilla Bug 955965</a>
-<p id="display"></p>
-<pre id="test">
-<script class="testbody" type="application/javascript;version=1.7">
-
-let gIm;
-
-inputmethod_setup(function() {
-  runTest();
-});
-
-function runTest() {
-  gIm = navigator.mozInputMethod;
-  gIm.oninputcontextchange = function() {
-    ok(true, 'inputcontextchange event was fired.');
-    gIm.oninputcontextchange = null;
-
-    if (!gIm.inputcontext) {
-      ok(false, 'Should have a non-null inputcontext.');
-      inputmethod_cleanup();
-      return;
-    }
-
-    test_hide();
-  };
-
-  // Set current page as an input method.
-  SpecialPowers.wrap(gIm).setActive(true);
-
-  let iframe = document.createElement('iframe');
-  iframe.src = 'file_test_app.html';
-  iframe.setAttribute('mozbrowser', true);
-  document.body.appendChild(iframe);
-}
-
-function test_hide() {
-  gIm.oninputcontextchange = function() {
-    is(gIm.inputcontext, null, 'Should have a null inputcontext.');
-    inputmethod_cleanup();
-  }
-  gIm.mgmt.hide();
-}
-
-</script>
-</pre>
-</body>
-</html>
-