From c683544e292d8c9aa48ecc9f41bc880a5f11ed8b Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Sun, 23 Sep 2012 15:21:41 -0700 Subject: [PATCH] Bug 691580 - disable the bits of test_focus_contextmenu.xul that constantly fail on Windows --- .../tests/mochitest/events/test_focus_contextmenu.xul | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/accessible/tests/mochitest/events/test_focus_contextmenu.xul b/accessible/tests/mochitest/events/test_focus_contextmenu.xul index ecacadbcce2a..06492c432ba5 100644 --- a/accessible/tests/mochitest/events/test_focus_contextmenu.xul +++ b/accessible/tests/mochitest/events/test_focus_contextmenu.xul @@ -47,9 +47,12 @@ 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(); }