Bug 1579608 - temporarily set pref csp.skip_about_page_has_csp_assert. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Mon, 09 Sep 2019 00:24:10 +0200
changeset 36756 5acb5168cb35d08e471cabdbe03f6ec773062626
parent 36755 1317ce45249747a134450749fc1c895de62b818e
child 36757 47eb1c03649d0e2e674f8b5d72ce3092cfa4c203
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersbustage-fix
bugs1579608
Bug 1579608 - temporarily set pref csp.skip_about_page_has_csp_assert. rs=bustage-fix
mail/app/profile/all-thunderbird.js
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -350,16 +350,22 @@ pref("network.protocol-handler.warn-exte
 
 pref("network.hosts.smtp_server",           "mail");
 pref("network.hosts.pop_server",            "mail");
 
 // Temporarily add 'preferences' and 'newserror' to the list of about: pages that do not have a CSP specified.
 // The list should be kept in sync with the one in m-c/modules/libpref/init/all.js. See bug 1495983.
 pref("csp.about_uris_without_csp", "preferences,newserror,blank,printpreview,srcdoc,about,addons,cache-entry,config,crashes,debugging,devtools,downloads,home,memory,networking,newtab,performance,policies,profiles,restartrequired,searchreset,serviceworkers,sessionrestore,support,sync-log,telemetry,url-classifier,webrtc,welcomeback");
 
+#if defined(DEBUG)
+  // For testing purposes only: Flipping this pref to true allows
+  // to skip the assertion that every about page ships with a CSP.
+  pref("csp.skip_about_page_has_csp_assert", true);
+#endif
+
 pref("security.warn_entering_secure", false);
 pref("security.warn_entering_weak", false);
 pref("security.warn_leaving_secure", false);
 pref("security.warn_viewing_mixed", false);
 pref("security.aboutcertificate.enabled", false);
 
 pref("general.config.obscure_value", 0); // for MCD .cfg files