Bug 1340135 Use the right strings for permission update notifications r=rhelmer
authorAndrew Swan <aswan@mozilla.com>
Thu, 16 Feb 2017 13:41:27 -0800
changeset 372673 3519eae484c0ce34df428d4f0184cb169dc43081
parent 372672 7c8ac1b193556fbf0c447598dfdb5a4cee81cf39
child 372674 244d26586bd653e946b1e67a4696209893ef006f
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrhelmer
bugs1340135
milestone54.0a1
Bug 1340135 Use the right strings for permission update notifications r=rhelmer MozReview-Commit-ID: uL37kpCIIC
browser/modules/ExtensionsUI.jsm
--- a/browser/modules/ExtensionsUI.jsm
+++ b/browser/modules/ExtensionsUI.jsm
@@ -133,16 +133,17 @@ this.ExtensionsUI = {
         reply(true);
       } else {
         info.permissions = perms;
         let strings = this._buildStrings(info);
         this.showPermissionsPrompt(target, strings, info.icon).then(reply);
       }
     } else if (topic == "webextension-update-permissions") {
       let info = subject.wrappedJSObject;
+      info.type = "update";
       let strings = this._buildStrings(info);
 
       // If we don't prompt for any new permissions, just apply it
       if (strings.msgs.length == 0) {
         info.resolve();
         return;
       }