зеркало из https://github.com/mozilla/pjs.git
bug 137079, account management at buy.com does not work, r=pink, sr=alecf
This commit is contained in:
Родитель
32591f6dcd
Коммит
436a1babba
|
@ -169,6 +169,10 @@ nsCookieHTTPNotify::OnModifyRequest(nsIHttpChannel *aHttpChannel)
|
|||
nsCOMPtr<nsIURI> pFirstURL;
|
||||
rv = aHttpChannel->GetDocumentURI(getter_AddRefs(pFirstURL));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
if (!pFirstURL) {
|
||||
rv = aHttpChannel->GetOriginalURI(getter_AddRefs(pFirstURL));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
}
|
||||
|
||||
// Ensure that the cookie service exists
|
||||
rv = SetupCookieService();
|
||||
|
|
Загрузка…
Ссылка в новой задаче