mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
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:
parent
176a1755ea
commit
a4c0f4ca76
@ -3675,7 +3675,11 @@ mozilla::ipc::IPCResult ContentChild::RecvCrossProcessRedirect(
|
||||
}
|
||||
|
||||
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);
|
||||
if (NS_FAILED(rv) || !childChannel) {
|
||||
|
Loading…
Reference in New Issue
Block a user