Commit 2cc5606c authored by Andrew McCreight's avatar Andrew McCreight
Browse files

Bug 1784036 - Don't reject null principals in RecvCompleteAllowAccessFor. r=timhuang

parent 7e300e8d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6609,10 +6609,6 @@ mozilla::ipc::IPCResult ContentParent::RecvCompleteAllowAccessFor(
    return IPC_OK();
  }

  if (!aTrackingPrincipal) {
    return IPC_FAIL(this, "No principal");
  }

  StorageAccessAPIHelper::CompleteAllowAccessFor(
      aParentContext.get_canonical(), aTopLevelWindowId, aTrackingPrincipal,
      aTrackingOrigin, aCookieBehavior, aReason, nullptr)