mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset fbe9ba3b1e9a (bug 1122691) for m5 orange
This commit is contained in:
parent
8025281b09
commit
cd757b2e7f
@ -4902,15 +4902,11 @@ nsHttpChannel::BeginConnect()
|
|||||||
nsCOMPtr<nsIPrincipal> principal = GetPrincipal(false);
|
nsCOMPtr<nsIPrincipal> principal = GetPrincipal(false);
|
||||||
bool tp = false;
|
bool tp = false;
|
||||||
channelClassifier->ShouldEnableTrackingProtection(this, &tp);
|
channelClassifier->ShouldEnableTrackingProtection(this, &tp);
|
||||||
// See bug 1122691
|
nsresult response = NS_OK;
|
||||||
if (tp) {
|
classifier->ClassifyLocal(principal, tp, &response);
|
||||||
nsresult response = NS_OK;
|
if (NS_FAILED(response)) {
|
||||||
classifier->ClassifyLocal(principal, tp, &response);
|
LOG(("nsHttpChannel::Found principal on local blocklist [this=%p]", this));
|
||||||
if (NS_FAILED(response)) {
|
mLocalBlocklist = true;
|
||||||
LOG(("nsHttpChannel::Found principal on local blocklist "
|
|
||||||
"[this=%p]", this));
|
|
||||||
mLocalBlocklist = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user