Bug 1340827 - Improve the description of the network.http.referer.userControlPolicy pref. r=dragana
authorFrancois Marier <francois@mozilla.com>
Sat, 18 Feb 2017 11:32:22 -0800
changeset 372899 05eb2a0f6dcf44ccc032dad3dd9a1be5d34eb6a9
parent 372898 e838276dea72f9d0bf23a8cb9cce051b3285bad7
child 372900 1163d72d876f94d5c6932e37af83ff6bfc91be44
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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