Bug 618770 - Fixing stupid a11y test
authorDão Gottwald <dao@mozilla.com>
Fri, 06 Jan 2012 13:03:17 +0100
changeset 85156 e1b77400dc949950b7d81e70e830f3c8e17a8479
parent 85155 14d7efc12d6b8b35a06315fd9c56d90996f9e51c
child 85157 11ab4e9dff6b04139f86cfab4070cdff858c0c3e
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs618770
milestone12.0a1
Bug 618770 - Fixing stupid a11y test
accessible/tests/mochitest/events/test_scroll.xul
--- a/accessible/tests/mochitest/events/test_scroll.xul
+++ b/accessible/tests/mochitest/events/test_scroll.xul
@@ -27,17 +27,17 @@
 
   <script type="application/javascript"
           src="chrome://mochikit/content/chrome-harness.js"/>
 
   <script type="application/javascript">
   <![CDATA[
 
     ////////////////////////////////////////////////////////////////////////////
-    // Hack to make xul:tabbrowser work
+    // Hacks to make xul:tabbrowser work
 
     const Ci = Components.interfaces;
     const CC = Components.classes;
 
     Components.utils.import("resource://gre/modules/Services.jsm");
 
     var handleDroppedLink = null;
 
@@ -48,16 +48,18 @@
     };
 
     var gURLBar = {
       focused: false
     };
 
     var gFindBarInitialized = false;
 
+    function goSetCommandEnabled() {}
+
     ////////////////////////////////////////////////////////////////////////////
     // Tests
 
     function getTabDocument()
     {
       return getNode("tabBrowser").selectedBrowser.contentDocument;
     }