зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1584031 - Pass load flags to NS_NewChannelInternal in ContentChild in the same way we do in DocumentChannelChild. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D54222 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
176a1755ea
Коммит
a4c0f4ca76
|
@ -3675,7 +3675,11 @@ mozilla::ipc::IPCResult ContentChild::RecvCrossProcessRedirect(
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCOMPtr<nsIChannel> newChannel;
|
nsCOMPtr<nsIChannel> newChannel;
|
||||||
rv = NS_NewChannelInternal(getter_AddRefs(newChannel), aArgs.uri(), loadInfo);
|
rv = NS_NewChannelInternal(getter_AddRefs(newChannel), aArgs.uri(), loadInfo,
|
||||||
|
nullptr, // PerformanceStorage
|
||||||
|
nullptr, // aLoadGroup
|
||||||
|
nullptr, // aCallbacks
|
||||||
|
aArgs.newLoadFlags());
|
||||||
|
|
||||||
RefPtr<nsIChildChannel> childChannel = do_QueryObject(newChannel);
|
RefPtr<nsIChildChannel> childChannel = do_QueryObject(newChannel);
|
||||||
if (NS_FAILED(rv) || !childChannel) {
|
if (NS_FAILED(rv) || !childChannel) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче