Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove

This commit is contained in:
janekptacijarabaci 2018-04-26 07:16:10 +02:00 • committed by Roy Tam
commit 7a70b9241b
4 changed files with 17 additions and 12 deletions

View file

@ -205,7 +205,7 @@ Site.prototype = {
* e.g. "cookie", "geo", "indexedDB", "popup", "image"
*/
clearPermission: function Site_clearPermission(aType) {
Services.perms.remove(this.host, aType);
Services.perms.remove(this.httpURI, aType);
},
/**