Bug 996744 - fixed a type that causes a TypeError in Utils.jsm. r=eeejay
authorYura Zenevich <yzenevich@mozilla.com>
Tue, 15 Apr 2014 14:24:57 -0400
changeset 197200 e3665e5651f879b13f864dbe38195c32a18a16a3
parent 197199 a54345bfd3383b83cdd0cf28a361f7e004a964f1
child 197201 3ee3888769651a8c1e01526bed7f92548e58aea3
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseeejay
bugs996744
milestone31.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 996744 - fixed a type that causes a TypeError in Utils.jsm. r=eeejay --- accessible/src/jsat/Utils.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
accessible/src/jsat/Utils.jsm
--- a/accessible/src/jsat/Utils.jsm
+++ b/accessible/src/jsat/Utils.jsm
@@ -592,17 +592,17 @@ PivotContext.prototype = {
    */
   _getAncestry: function _getAncestry(aAccessible) {
     let ancestry = [];
     let parent = aAccessible;
     try {
       while (parent && (parent = parent.parent)) {
        ancestry.push(parent);
       }
-    } catch (e) {
+    } catch (x) {
       // A defunct accessible will raise an exception geting parent.
       Logger.debug('Failed to get parent:', x);
     }
     return ancestry.reverse();
   },
 
   /**
    * A list of the old accessible's ancestry.