Bug 1726362 Comment 20 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The network channel is cancelled bv the URLClassifier with an anti-tracking specific error code: 

https://searchfox.org/mozilla-central/rev/5d2b9e940ca09bd1cbc15aa681f69424cde8904c/netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp#180
https://searchfox.org/mozilla-central/rev/5d2b9e940ca09bd1cbc15aa681f69424cde8904c/netwerk/protocol/http/HttpBaseChannel.cpp#5466

Looks like this is passed on via `nsIRequest`, which we could check.

As for hooking into the classifier externally and unblocking the request, you could maybe do it like here: https://searchfox.org/mozilla-central/rev/5d2b9e940ca09bd1cbc15aa681f69424cde8904c/browser/extensions/webcompat/experiment-apis/trackingProtection.js#72

Passing the NI to Dimi who is more familiar with our tracker blocking integration.
The network channel is cancelled by the URLClassifier with an anti-tracking specific error code: 

https://searchfox.org/mozilla-central/rev/5d2b9e940ca09bd1cbc15aa681f69424cde8904c/netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp#180
https://searchfox.org/mozilla-central/rev/5d2b9e940ca09bd1cbc15aa681f69424cde8904c/netwerk/protocol/http/HttpBaseChannel.cpp#5466

Looks like this is passed on via `nsIRequest`, which we could check.

As for hooking into the classifier externally and unblocking the request, you could maybe do it like here: https://searchfox.org/mozilla-central/rev/5d2b9e940ca09bd1cbc15aa681f69424cde8904c/browser/extensions/webcompat/experiment-apis/trackingProtection.js#72

Passing the NI to Dimi who is more familiar with our tracker blocking integration.

Back to Bug 1726362 Comment 20