Bug 1261678 - fix wrong copy-pasted variable name in nsActivityManager.js::getProcessesByContext() (value => activity). r=jorgk a=rkent THUNDERBIRD452b1_2016051723_RELBRANCH
authoraceman <acelists@atlas.sk>
Sun, 03 Apr 2016 06:48:00 +0200
branchTHUNDERBIRD452b1_2016051723_RELBRANCH
changeset 27091 ac09d7a7381c210dcbe3bd166ea7579fe74e7a24
parent 27090 381673c20648be0dbb7c448857df1a75408a3428
child 27092 d415c9b1470912737349d54dfc31522cc1ae915f
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk, rkent
bugs1261678
Bug 1261678 - fix wrong copy-pasted variable name in nsActivityManager.js::getProcessesByContext() (value => activity). r=jorgk a=rkent
mail/components/activity/nsActivityManager.js
--- a/mail/components/activity/nsActivityManager.js
+++ b/mail/components/activity/nsActivityManager.js
@@ -41,17 +41,17 @@ nsActivityManager.prototype = {
     }
 
     return count;
   },
 
   getProcessesByContext: function(aContextType, aContextObj, aCount) {
     let list = [];
     for (let id in this._activities) {
-      let value = this._activities[id];
+      let activity = this._activities[id];
       if (activity instanceof Ci.nsIActivityProcess &&
           activity.contextType == aContextType &&
           activity.contextObj == aContextObj) {
         list.push(activity);
       }
     }
 
     aCount.value = list.length;