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 107804 a713d74f4cd2b475c1561a488da96a4a2c2ac3c0
parent 107803 f6472d712439d3380070f9f036121ba764b1e680
child 107805 3b92cb5e3d6577c688b689c2e7b8a8f34f704e9f
push id23509
push userryanvm@gmail.com
push dateSat, 22 Sep 2012 12:28:38 +0000
treeherdermozilla-central@b461a7cd250e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs691580, 782991
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);