Bug 1094694 Uplift typo fix to comm-aurora a=IanN for comm-aurora a=typo fix CLOSED TREE
authorPhilip Chee <philip.chee@gmail.com>
Mon, 24 Nov 2014 06:09:34 +0800
changeset 25567 82727a0ffd305fd2a26914a7a8bee479c4759510
parent 25566 1d0cf76d033677648e278ed3c384f8420d274516
child 25568 884f2101fff332c9c7d2dbc28d53e4fecc223756
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)
reviewersIanN, typo
bugs1094694
Bug 1094694 Uplift typo fix to comm-aurora a=IanN for comm-aurora a=typo fix CLOSED TREE
suite/common/bindings/notification.xml
--- a/suite/common/bindings/notification.xml
+++ b/suite/common/bindings/notification.xml
@@ -1731,17 +1731,17 @@
               label: this._stringBundle.GetStringFromName("addonDownloadRestartButton"),
               accessKey: this._stringBundle.GetStringFromName("addonDownloadRestartButton.accesskey"),
               popup: null,
               callback: function() {
                 var weblistener = Components.classes["@mozilla.org/addons/web-install-listener;1"]
                                             .getService(Components.interfaces.amIWebInstallListener);
                 if (weblistener.onWebInstallRequested(installInfo.originator, sourceURI,
                                                       installInfo.installs, installInfo.installs.length)) {
-                  installs.forEach(function(aInstall) {
+                  installInfo.installs.forEach(function(aInstall) {
                     aInstall.install();
                   });
                 }
               }
             }];
             var priority = this.PRIORITY_INFO_MEDIUM;
             this.appendNotification(messageString, notificationName,
                                     null, priority, buttons);
@@ -2965,17 +2965,17 @@
               label: this._stringBundle.GetStringFromName("addonDownloadRestartButton"),
               accessKey: this._stringBundle.GetStringFromName("addonDownloadRestartButton.accesskey"),
               popup: null,
               callback: function() {
                 var weblistener = Components.classes["@mozilla.org/addons/web-install-listener;1"]
                                             .getService(Components.interfaces.amIWebInstallListener);
                 if (weblistener.onWebInstallRequested(installInfo.originator, sourceURI,
                                                       installInfo.installs, installInfo.installs.length)) {
-                  installs.forEach(function(aInstall) {
+                  installInfo.installs.forEach(function(aInstall) {
                     aInstall.install();
                   });
                 }
               }
             };
             PopupNotifications.show(this.activeBrowser,
                                     "addon-install-cancelled", messageString,
                                     "addons-notification-icon", action);