relanding teeny tiny part of patch to investigate Tp impact

git-svn-id: svn://10.0.0.236/trunk@239574 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dwitte%stanford.edu
2007-11-17 11:05:01 +00:00
parent 07536923f4
commit 23b2753bde

View File

@@ -1360,6 +1360,10 @@ nsCookieService::AddInternal(nsCookie *aCookie,
return;
}
// preserve creation time of cookie
if (oldCookie)
aCookie->SetCreationID(oldCookie->CreationID());
} else {
// check if cookie has already expired
if (aCookie->Expiry() <= aCurrentTime) {