Bug 1340135 Use the right strings for permission update notifications
MozReview-Commit-ID: uL37kpCIIC
--- 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;
}