Commit 7b500b27 authored by Johann Hofmann's avatar Johann Hofmann Committed by Matthew Finkel
Browse files

Bug 1557729 - Use principal for permission post prompts instead of URI. r=xeonchen

Differential Revision: https://phabricator.services.mozilla.com/D35033

--HG--
extra : moz-landing-system : lando
parent 38313271
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -569,8 +569,8 @@ var PermissionPromptPrototype = {
          if (PrivateBrowsingUtils.isBrowserPrivate(browser)) {
            scope = SitePermissions.SCOPE_SESSION;
          }
          SitePermissions.set(
            principal.URI,
          SitePermissions.setForPrincipal(
            principal,
            this.permissionKey,
            promptAction.action,
            scope