back out change.

This commit is contained in:
dwitte@stanford.edu 2007-11-18 23:26:36 -08:00
parent 7c281927e9
commit 1d016075a5

View File

@ -1756,8 +1756,6 @@ PRBool
nsCookieService::IsForeign(nsIURI *aHostURI, nsCookieService::IsForeign(nsIURI *aHostURI,
nsIURI *aFirstURI) nsIURI *aFirstURI)
{ {
return PR_FALSE;
/*
// if aFirstURI is null, default to not foreign // if aFirstURI is null, default to not foreign
if (!aFirstURI) { if (!aFirstURI) {
return PR_FALSE; return PR_FALSE;
@ -1814,7 +1812,6 @@ nsCookieService::IsForeign(nsIURI *aHostURI,
// don't have enough dots to chop firstHost, or the subdomain levels differ; // don't have enough dots to chop firstHost, or the subdomain levels differ;
// so we just do the plain old check, IsInDomain(firstHost, currentHost). // so we just do the plain old check, IsInDomain(firstHost, currentHost).
return !IsInDomain(NS_LITERAL_CSTRING(".") + firstHost, currentHost); return !IsInDomain(NS_LITERAL_CSTRING(".") + firstHost, currentHost);
*/
} }
PRUint32 PRUint32