Bug 1197420 Part 4 Apply dynamic permission changes r=kmag

MozReview-Commit-ID: 6TdcUv1fHPh
This commit is contained in:
Andrew Swan
2017-03-23 17:28:52 -07:00
parent fc72911ff3
commit b96180cff0
7 changed files with 135 additions and 15 deletions

View File

@@ -66,7 +66,7 @@ this.ExtensionPermissions = {
if (added.permissions.length > 0 || added.origins.length > 0) {
prefs.saveSoon();
// TODO apply the changes
extension.emit("add-permissions", added);
}
},
@@ -99,7 +99,7 @@ this.ExtensionPermissions = {
if (removed.permissions.length > 0 || removed.origins.length > 0) {
prefs.saveSoon();
// TODO apply the changes
extension.emit("remove-permissions", removed);
}
},