mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
back out change.
This commit is contained in:
parent
7c281927e9
commit
1d016075a5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user