mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
bug 83625, session cookies not getting set, r=alecf, sr=darin, a=asa
This commit is contained in:
parent
af04743a83
commit
c624f4d4b9
@ -235,7 +235,8 @@ nsCookieHTTPNotify::OnExamineResponse(nsIHttpChannel *aHttpChannel)
|
||||
// Get the expires
|
||||
nsXPIDLCString dateHeader;
|
||||
rv = aHttpChannel->GetResponseHeader("Date", getter_Copies(dateHeader));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
// NS_ERROR_NOT_AVAILABLE is not a fatal error, other errors are
|
||||
if (NS_FAILED(rv) && rv != NS_ERROR_NOT_AVAILABLE) return rv;
|
||||
|
||||
// Ensure that we have the cookie service
|
||||
rv = SetupCookieService();
|
||||
|
Loading…
x
Reference in New Issue
Block a user