Proper fix for disabling tests for bug 746970, copy and paste error, a=test-only
authorMarco Zehe <mzehe@mozilla.com>
Wed, 02 May 2012 06:56:40 +0200
changeset 95007 5278ae9d6b1aefef431632c3625405444a65102c
parent 95006 f1a9dac395460edf39efcf1b3953f936e35a0b07
child 95008 b13bfc70bc44282410b77b6fcfd86d3950958402
push idunknown
push userunknown
push dateunknown
reviewerstest-only
bugs746970
milestone15.0a1
Proper fix for disabling tests for bug 746970, copy and paste error, a=test-only
accessible/tests/mochitest/events/test_focus_general.xul
--- a/accessible/tests/mochitest/events/test_focus_general.xul
+++ b/accessible/tests/mochitest/events/test_focus_general.xul
@@ -68,17 +68,17 @@
       gQueue.push(new synthClick("popupbutton", new nofocusChecker()));
       // select first menu item ("item 1"), focus on menu item
       gQueue.push(new synthDownKey("popupbutton", new focusChecker("bp_item1")));
       // choose select menu item, focus gets back to menubutton
       gQueue.push(new synthEnterKey("bp_item1", new focusChecker("menubutton")));
       // show popup again for the next test
       gQueue.push(new synthClick("popupbutton", new nofocusChecker()));
 
-if (MAC) {
+if (!MAC) {
       // click menubutton of the 'menubutton' button while popup of button open.
       gQueue.push(new synthClick("mbb", new focusChecker("mbb"), { where: "right" }));
       // close popup, focus stays on menubutton, fire focus event
       gQueue.push(new synthEscapeKey("mbb", new focusChecker("mbb")));
       // click menubutton, open popup, focus stays on menubutton
       gQueue.push(new synthClick("mbb", new nofocusChecker(), { where: "right" }));
       // select first menu item ("item 1"), focus on menu item
       gQueue.push(new synthDownKey("mbb", new focusChecker("mbb_item1")));