Bug 1261678 - fix wrong copy-pasted variable name in nsActivityManager.js::getProcessesByContext() (value => activity). r=jorgk a=rkent THUNDERBIRD451b1_2016042214_RELBRANCH
authoraceman <acelists@atlas.sk>
Sun, 03 Apr 2016 06:48:00 +0200
branchTHUNDERBIRD451b1_2016042214_RELBRANCH
changeset 26902 6282245b12dfec8db336238be9b8d369f20b9742
parent 26901 defe64a368bfde83c4cee1c544707491275e46a0
child 26903 55d3400e7dc068adf9556a60bfd5ece37952b08c
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;