Bug 691580, Bug 782991 - enable logging events/test_focus_contextmenu.xul and states/test_link.html
authorAlexander Surkov <surkov.alexander@gmail.com>
Sat, 22 Sep 2012 13:03:01 +0900
changeset 107913 a713d74f4cd2b475c1561a488da96a4a2c2ac3c0
parent 107912 f6472d712439d3380070f9f036121ba764b1e680
child 107914 3b92cb5e3d6577c688b689c2e7b8a8f34f704e9f
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
bugs691580, 782991
milestone18.0a1
Bug 691580, Bug 782991 - enable logging events/test_focus_contextmenu.xul and states/test_link.html
accessible/tests/mochitest/events/test_contextmenu.html
accessible/tests/mochitest/states/test_link.html
--- a/accessible/tests/mochitest/events/test_contextmenu.html
+++ b/accessible/tests/mochitest/events/test_contextmenu.html
@@ -96,17 +96,17 @@
       return null;
     }
 
     ////////////////////////////////////////////////////////////////////////////
     // Do tests
 
     var gQueue = null;
     //gA11yEventDumpID = "eventdump"; // debug stuff
-    //gA11yEventDumpToConsole = true;
+    gA11yEventDumpToConsole = true;
 
     function doTests()
     {
       gQueue = new eventQueue();
 
       gQueue.push(new showContextMenu("input"));
       gQueue.push(new selectMenuItem());
       gQueue.push(new closeContextMenu());
--- a/accessible/tests/mochitest/states/test_link.html
+++ b/accessible/tests/mochitest/states/test_link.html
@@ -16,16 +16,18 @@
   <script type="application/javascript"
           src="../role.js"></script>
   <script type="application/javascript"
           src="../states.js"></script>
   <script type="application/javascript"
           src="../events.js"></script>
 
   <script type="application/javascript">
+    gA11yEventDumpToConsole = true; // debug stuff
+
     function doTest()
     {
       // a@href and its text node
       testStates("link_href", STATE_LINKED);
       testStates(getAccessible("link_href").firstChild, STATE_LINKED);
 
       // a@onclick
       testStates("link_click", STATE_LINKED);