Jump to: navigation, search

Security/Tracking protection

2,764 bytes added, 17:37, 21 May 2018
Engineering: Add a partial code walkthrough covering tracking annotations
* [] test page
* [ Sandboxing trackers] (as an alternative to blocking)
=== Code walkthrough ===
Tracking annotations are used in four different places:
* [ lower the priority of tracker loads] in necko
* [ enable "tailing"] in necko
* the network predictor has a [ flag] to [ disable prefetching of tracking resources]
* the script loader set a [ tracking flag] which gets [ propagated to the document] to [ keep track of tracking scripts]. There are three users of <tt>nsIDocument::IsTrackingScript()</tt>:
** the [ Timeout Manager has an <tt>mIsTracking</tt> flag] to [ distinguish tracking timeouts from regular ones] and [ enforce a minimum timeout value] (<tt>dom.min_tracking_timeout_value</tt>) for [ timeouts from a tracking script]
** [ Fetch uses it to set a flag] to honor [ tailing] and [ lowering networking priority] when [ <tt>fetch()</tt> is called from a tracking script]
** XHR also [ uses it for the same tailing and lowering the priority] features when the [ XHR comes from a tracking script]
== Lists ==

Navigation menu