~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/modules/cookiekeeper.jsm

  • Committer: Yvon Tanguy
  • Date: 2016-03-30 22:28:15 UTC
  • Revision ID: vono22@yahoo.fr-20160330222815-72772vqu2j7gplx7
Fix 2 regressions in previous commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
572
572
        }
573
573
        for (let i=0; i<permsList.length; i++) {
574
574
          let perm = permsList[i];
575
 
          if (nextPermission.principal) {
 
575
          if (perm.principal) {
576
576
            Services.perms.removeFromPrincipal(perm.principal, perm.type);
577
577
          } else {
578
578
            Services.perms.remove(perm.host, perm.type);