Bug 1049299 - Correctly calculate 3rd-party cookie status for content-process HTTP channels. r=jduell
This commit is contained in:
@@ -10378,8 +10378,8 @@ nsDocShell::DoURILoad(nsIURI * aURI,
|
||||
nsCOMPtr<nsIHttpChannelInternal> httpChannelInternal(do_QueryInterface(channel));
|
||||
if (httpChannelInternal) {
|
||||
if (aForceAllowCookies) {
|
||||
httpChannelInternal->SetForceAllowThirdPartyCookie(true);
|
||||
}
|
||||
httpChannelInternal->SetThirdPartyFlags(nsIHttpChannelInternal::THIRD_PARTY_FORCE_ALLOW);
|
||||
}
|
||||
if (aFirstParty) {
|
||||
httpChannelInternal->SetDocumentURI(aURI);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user