mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 965413 part 8. Make HTTP redirects propagate along the load info. r=smaug
This commit is contained in:
parent
c778318fb6
commit
9173c79f52
@ -1915,6 +1915,9 @@ HttpBaseChannel::SetupReplacementChannel(nsIURI *newURI,
|
||||
}
|
||||
}
|
||||
|
||||
// Propagate our loadinfo if needed.
|
||||
newChannel->SetLoadInfo(mLoadInfo);
|
||||
|
||||
nsCOMPtr<nsIHttpChannel> httpChannel = do_QueryInterface(newChannel);
|
||||
if (!httpChannel)
|
||||
return NS_OK; // no other options to set
|
||||
|
Loading…
Reference in New Issue
Block a user