Backed out changeset 48b3b92e77f5 (bug 1639140) for causing xpcshell failures CLOSED TREE

This commit is contained in:
Noemi Erli 2020-05-25 22:35:07 +03:00
Родитель 8f8840f702
Коммит a10ab58b99
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -425,6 +425,10 @@ bool DocumentLoadListener::Open(
httpBaseChannel->SetTopWindowURI(topWindowURI);
}
// TODO: Remove this in Bug 1639140
Unused << loadInfo->SetHasStoragePermission(
AntiTrackingUtils::HasStoragePermissionInParent(mChannel));
nsCOMPtr<nsIIdentChannel> identChannel = do_QueryInterface(mChannel);
if (identChannel && aChannelId) {
Unused << identChannel->SetChannelId(*aChannelId);