Bug 1408867 - Disable preconnect (pref network.http.speculative-parallel-limit) to fix privacy issue. r=aceman
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Sat, 02 Dec 2017 20:48:00 +0200
changeset 30969 b4b02a5f79ff2de6f74382e0e0ef8e4bfa18ac24
parent 30968 d57095f7ae224940b661be89bfbbd94f485b364e
child 30970 ed0e5a9bf28a0d75b1c0618833bd9e319b6136f8
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersaceman
bugs1408867
Bug 1408867 - Disable preconnect (pref network.http.speculative-parallel-limit) to fix privacy issue. r=aceman
mail/app/profile/all-thunderbird.js
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -370,16 +370,20 @@ pref("offline.send.unsent_messages",    
 // 1 Always synchronize the offline store when going offline
 // 2 Never synchronize the offline store when going offline
 pref("offline.download.download_messages",  0);
 
 // All platforms can automatically move the user offline or online based on
 // the network connection.
 pref("offline.autoDetect", true);
 
+// Disable preconnect and friends due to privacy concerns. They are not
+// sent through content policies.
+pref("network.http.speculative-parallel-limit", 0);
+
 // Expose only select protocol handlers. All others should go
 // through the external protocol handler route.
 // If you are changing this list, you may need to also consider changing the
 // list in nsMsgContentPolicy::IsExposedProtocol.
 pref("network.protocol-handler.expose-all", false);
 pref("network.protocol-handler.expose.mailto", true);
 pref("network.protocol-handler.expose.news", true);
 pref("network.protocol-handler.expose.snews", true);