Bug 708927 - more logging for events/test_focus_menu.xul
authorAlexander Surkov <surkov.alexander@gmail.com>
Thu, 27 Sep 2012 12:52:21 +0900
changeset 108350 75227ca51671c3b639931f2ee8f9878e8424309d
parent 108349 59817579d27ebb761fd669d8cdbaff4402ccc64e
child 108351 880c0c02dcc0651085bb72e7312f68c803c11b55
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
bugs708927
milestone18.0a1
Bug 708927 - more logging for events/test_focus_menu.xul
accessible/tests/mochitest/events/test_focus_menu.xul
--- a/accessible/tests/mochitest/events/test_focus_menu.xul
+++ b/accessible/tests/mochitest/events/test_focus_menu.xul
@@ -66,16 +66,19 @@
       // move to first menu in cycle, DOMMenuItemActive is fired for fruit,
       // cycle and apple menuitems (bug 685191)
       todo(false, "focus is fired for 'cycle' menuitem");
       //gQueue.push(new synthRightKey("vehicle", new focusChecker("apple")));
 
       // click menuitem to close menu, focus gets back to document
       gQueue.push(new synthClick("tricycle", new focusChecker(document)));
 
+      enableLogging("focus");
+      gQueue.onFinish = function() { disableLogging(); }
+
       gQueue.invoke(); // Will call SimpleTest.finish();
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTests);
   </script>
 
   <hbox flex="1" style="overflow: auto;">