Bug 691580 - disable the bits of test_focus_contextmenu.xul that constantly fail on Windows
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 23 Sep 2012 15:21:41 -0700
changeset 107980 97f93e053b4e3b046b9fe100b001ad7c899d5d64
parent 107979 4f7bff5aa1ba6f1d560e764064072e9c3c332c76
child 107981 70f1fdaaad126da51a5d885aaf13f766ed43d7af
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
bugs691580
milestone18.0a1
Bug 691580 - disable the bits of test_focus_contextmenu.xul that constantly fail on Windows
accessible/tests/mochitest/events/test_focus_contextmenu.xul
--- a/accessible/tests/mochitest/events/test_focus_contextmenu.xul
+++ b/accessible/tests/mochitest/events/test_focus_contextmenu.xul
@@ -42,19 +42,22 @@
                                        new invokerChecker(EVENT_MENUPOPUP_START, "contextmenu")));
       gQueue.push(new synthEscapeKey("contextmenu", new focusChecker("button")));
 
       gQueue.push(new synthContextMenu("button",
                                        new invokerChecker(EVENT_MENUPOPUP_START, "contextmenu")));
       gQueue.push(new synthDownKey("contextmenu", new focusChecker("item1")));
       gQueue.push(new synthDownKey("item1", new focusChecker("item2")));
       gQueue.push(new synthRightKey("item2", new focusChecker("item2.1")));
-      gQueue.push(new synthEscapeKey("item2.1", new focusChecker("item2")));
-      gQueue.push(new synthEscapeKey("item2", new focusChecker("button")));
-
+      if (WIN) {
+        todo(false, "item2.1 and item2 fail too frequently on Windows, bug 691580");
+      } else {
+        gQueue.push(new synthEscapeKey("item2.1", new focusChecker("item2")));
+        gQueue.push(new synthEscapeKey("item2", new focusChecker("button")));
+      }
       gQueue.invoke(); // Will call SimpleTest.finish();
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTests);
   </script>
 
   <hbox flex="1" style="overflow: auto;">