Bug 502742 "Run All Tests" button is not keyboard accessible r=gavin
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Tue, 07 Jul 2009 11:40:49 +0100
changeset 30049 66cabafcafc092cc8eebe3c2e854edb491125e75
parent 30048 2f6cb9dc1f13d771e8bdda38914408b7a4f9e326
child 30050 0f22c55684a682454f7cf01885d675db4bbff594
push idunknown
push userunknown
push dateunknown
reviewersgavin
bugs502742
milestone1.9.2a1pre
Bug 502742 "Run All Tests" button is not keyboard accessible r=gavin
testing/mochitest/browser-harness.xul
--- a/testing/mochitest/browser-harness.xul
+++ b/testing/mochitest/browser-harness.xul
@@ -317,14 +317,14 @@
         return;
       }
 
       // UI
       document.getElementById("results").innerHTML = getHTMLLogFromTests(aTests);
       setStatus("Done.");
     }
   ]]></script>
-  <button id="runTestsButton" onclick="runTests();" label="Run All Tests"/>
+  <button id="runTestsButton" oncommand="runTests();" label="Run All Tests"/>
   <label id="status"/>
   <scrollbox flex="1" style="overflow: auto" align="stretch">
     <div id="results" xmlns="http://www.w3.org/1999/xhtml" flex="1"/>
   </scrollbox>
 </window>