diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-22 07:49:59 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 16:05:02 +0200 |
commit | 7c90c0205cd9fda52caf0d6b2a42f8a53c6fba37 (patch) | |
tree | c0034e58dac5a1c42be6124f22b314a0e999922d /netwerk/protocol/http/HttpChannelChild.cpp | |
parent | a95439db61c4530afae3967e2912d6ca38f1bbda (diff) | |
download | uxp-7c90c0205cd9fda52caf0d6b2a42f8a53c6fba37.tar.gz |
Issue #1822 - Part 4: Remove URL classifier and internal blocklist errors.
This removes NS_ERROR_{TRACKING|MALWARE|PHISHING|UNWANTED|BLOCKED}_URI
that are no longer in use.
Diffstat (limited to 'netwerk/protocol/http/HttpChannelChild.cpp')
-rw-r--r-- | netwerk/protocol/http/HttpChannelChild.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/netwerk/protocol/http/HttpChannelChild.cpp b/netwerk/protocol/http/HttpChannelChild.cpp index 8fcc0d203b..8594f17a2f 100644 --- a/netwerk/protocol/http/HttpChannelChild.cpp +++ b/netwerk/protocol/http/HttpChannelChild.cpp @@ -961,13 +961,6 @@ HttpChannelChild::DoOnStopRequest(nsIRequest* aRequest, nsresult aChannelStatus, LOG(("HttpChannelChild::DoOnStopRequest [this=%p]\n", this)); MOZ_ASSERT(!mIsPending); - // NB: We use aChannelStatus here instead of mStatus because if there was an - // nsCORSListenerProxy on this request, it will override the tracking - // protection's return value. - if (aChannelStatus == NS_ERROR_TRACKING_URI) { - nsChannelClassifier::SetBlockedTrackingContent(this); - } - MOZ_ASSERT(!mOnStopRequestCalled, "We should not call OnStopRequest twice"); |