From a10ab58b99c63893c1091e2891fd0ccc288a1a3f Mon Sep 17 00:00:00 2001 From: Noemi Erli Date: Mon, 25 May 2020 22:35:07 +0300 Subject: [PATCH] Backed out changeset 48b3b92e77f5 (bug 1639140) for causing xpcshell failures CLOSED TREE --- netwerk/ipc/DocumentLoadListener.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netwerk/ipc/DocumentLoadListener.cpp b/netwerk/ipc/DocumentLoadListener.cpp index f69dac902413..e7bb9d3c62a1 100644 --- a/netwerk/ipc/DocumentLoadListener.cpp +++ b/netwerk/ipc/DocumentLoadListener.cpp @@ -425,6 +425,10 @@ bool DocumentLoadListener::Open( httpBaseChannel->SetTopWindowURI(topWindowURI); } + // TODO: Remove this in Bug 1639140 + Unused << loadInfo->SetHasStoragePermission( + AntiTrackingUtils::HasStoragePermissionInParent(mChannel)); + nsCOMPtr identChannel = do_QueryInterface(mChannel); if (identChannel && aChannelId) { Unused << identChannel->SetChannelId(*aChannelId);