mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Backed out changeset fbe9ba3b1e9a (bug 1122691) for m5 orange
This commit is contained in:
parent
168ce9439e
commit
d983f5aa5c
@ -4902,15 +4902,11 @@ nsHttpChannel::BeginConnect()
|
||||
nsCOMPtr<nsIPrincipal> principal = GetPrincipal(false);
|
||||
bool tp = false;
|
||||
channelClassifier->ShouldEnableTrackingProtection(this, &tp);
|
||||
// See bug 1122691
|
||||
if (tp) {
|
||||
nsresult response = NS_OK;
|
||||
classifier->ClassifyLocal(principal, tp, &response);
|
||||
if (NS_FAILED(response)) {
|
||||
LOG(("nsHttpChannel::Found principal on local blocklist "
|
||||
"[this=%p]", this));
|
||||
mLocalBlocklist = true;
|
||||
}
|
||||
nsresult response = NS_OK;
|
||||
classifier->ClassifyLocal(principal, tp, &response);
|
||||
if (NS_FAILED(response)) {
|
||||
LOG(("nsHttpChannel::Found principal on local blocklist [this=%p]", this));
|
||||
mLocalBlocklist = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user