Disable orange caret offset tests (b=510128). r=MarcoZ
authorDavid Bolter <dbolter@mozilla.com>
Wed, 23 Sep 2009 12:21:38 -0400
changeset 32995 ebd1844746e05f268ff5bb091f1fe3cf467b7bca
parent 32994 e96c04e4f82119cf81806b9368f85b3fe5d6e3a4
child 32996 4842007652519dc4188b4cb2448bfd5e2841a757
push id9284
push userdbolter@mozilla.com
push dateWed, 23 Sep 2009 16:22:07 +0000
treeherdermozilla-central@ebd1844746e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMarcoZ
bugs510128
milestone1.9.3a1pre
Disable orange caret offset tests (b=510128). r=MarcoZ
accessible/tests/mochitest/test_events_caretmove.html
--- a/accessible/tests/mochitest/test_events_caretmove.html
+++ b/accessible/tests/mochitest/test_events_caretmove.html
@@ -162,23 +162,21 @@
     {
       var acc = getAccessible(aAccOrElmOrID, [nsIAccessibleText]);
       is(acc.caretOffset, aCaretOffset,
          "Wrong caret offset for " + aAccOrElmOrID);
     }
 
     function doTests()
     {
-      // XXX Bug 510128
-      if (!MAC) {
-        // test no focused accessibles
-        testCaretOffset("textbox", -1);
-        testCaretOffset("textarea", -1);
-        testCaretOffset("p", -1);
-      }
+      todo(false, "enable commented tests Bug 510128 is fixed");
+      // test no focused accessibles
+      //testCaretOffset("textbox", -1);
+      //testCaretOffset("textarea", -1);
+      testCaretOffset("p", -1);
 
       // test caret move events and caret offsets
       gQueue = new eventQueue(nsIAccessibleEvent.EVENT_TEXT_CARET_MOVED);
 
       var id = "textbox";
       gQueue.push(new synthFocus(id, 5));
       gQueue.push(new synthSelectAll(id, 5));
       gQueue.push(new synthClick(id, 0));