Bug 1340827 - Improve the description of the network.http.referer.userControlPolicy pref. r?dragana draft
authorFrancois Marier <francois@mozilla.com>
Sat, 18 Feb 2017 11:32:22 -0800
changeset 486571 8751d51063cdac91e39168feea32bc5ef93c70a7
parent 486570 698de2db1b16a5ef3c6a39f0f72885e69aee4022
child 546286 20d45033e9b8a904cbf7b7611b08245621afc984
push id46026
push userfmarier@mozilla.com
push dateSat, 18 Feb 2017 19:41:13 +0000
reviewersdragana
bugs1340827
milestone54.0a1
Bug 1340827 - Improve the description of the network.http.referer.userControlPolicy pref. r?dragana MozReview-Commit-ID: Et6UPEdaIya
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1479,18 +1479,19 @@ pref("network.http.request.max-start-del
 pref("network.http.request.max-attempts", 10);
 
 // Headers
 pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
 
 // Prefs allowing granular control of referers
 // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
 pref("network.http.sendRefererHeader",      2);
-// 0=no referrer, 1=same origin, 2=strict-origin-when-cross-origin,
-// 3=no-referre-when-downgrade(default)
+// Set the default Referrer Policy to be used unless overriden by the site
+// 0=no-referrer, 1=same-origin, 2=strict-origin-when-cross-origin,
+// 3=no-referrer-when-downgrade
 pref("network.http.referer.userControlPolicy", 3);
 // false=real referer, true=spoof referer (use target URI as referer)
 pref("network.http.referer.spoofSource", false);
 // false=allow onion referer, true=hide onion referer (use target URI as referer)
 pref("network.http.referer.hideOnionSource", false);
 // 0=full URI, 1=scheme+host+port+path, 2=scheme+host+port
 pref("network.http.referer.trimmingPolicy", 0);
 // 0=full URI, 1=scheme+host+port+path, 2=scheme+host+port