Bug 569425. Don't redeclare this variable because it makes it look like it shadows the first declaration. r=surkov
authorTimothy Nikkel <tnikkel@gmail.com>
Tue, 08 Jun 2010 14:17:54 -0500
changeset 43320 0f7e3b92bf6f144296a4fe43d06a745236daa36d
parent 43319 473d997e34df8eb867a9db8bf1e667594dee6c14
child 43321 2f539cc84d9750e6de1de5d44f8ade2b82cad024
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs569425
milestone1.9.3a5pre
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 569425. Don't redeclare this variable because it makes it look like it shadows the first declaration. r=surkov
accessible/tests/mochitest/common.js
--- a/accessible/tests/mochitest/common.js
+++ b/accessible/tests/mochitest/common.js
@@ -192,17 +192,17 @@ function getAccessible(aAccOrElmOrID, aI
   if (aAccOrElmOrID instanceof nsIAccessible) {
     aAccOrElmOrID.QueryInterface(nsIAccessNode);
     elm = aAccOrElmOrID.DOMNode;
 
   } else if (aAccOrElmOrID instanceof nsIDOMNode) {
     elm = aAccOrElmOrID;
 
   } else {
-    var elm = document.getElementById(aAccOrElmOrID);
+    elm = document.getElementById(aAccOrElmOrID);
     if (!elm) {
       ok(false, "Can't get DOM element for " + aAccOrElmOrID);
       return null;
     }
   }
 
   if (aElmObj && (typeof aElmObj == "object"))
     aElmObj.value = elm;