Bug 1572293 - Show authprompt for images in mail and for caldav access. r=IanN a=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Sun, 11 Aug 2019 14:17:46 +0200
changeset 32262 3819fbc7686bbde419f6b5ace2bc9c2908afae61
parent 32261 fbd3fd31c479d6d76a6f43a1d52cdfbaa0bbaf41
child 32263 70f19359835b5bb33f830cd140d0e5159a120701
push id209
push userfrgrahl@gmx.net
push dateSun, 11 Aug 2019 12:21:39 +0000
treeherdercomm-esr60@7a01e33fff91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs1572293
Bug 1572293 - Show authprompt for images in mail and for caldav access. r=IanN a=IanN
suite/browser/browser-prefs.js
--- a/suite/browser/browser-prefs.js
+++ b/suite/browser/browser-prefs.js
@@ -346,16 +346,22 @@ pref("network.protocol-handler.warn-exte
 pref("network.protocol-handler.warn-external.news", true);
 pref("network.protocol-handler.warn-external.snews", true);
 pref("network.protocol-handler.warn-external.nntp", true);
 
 // bug 1005566 - Disable seer until properly supported
 // bug 1021370 - Rename Seer to Predictor
 pref("network.predictor.enabled", false);
 
+// To allow images to be inserted into a composition with an auth prompt, we
+// need the following two.
+pref("network.auth.subresource-img-cross-origin-http-auth-allow", true);
+// This pref is also needed for showing the caldav auth prompt.
+pref("network.auth.non-web-content-triggered-resources-http-auth-allow", true);
+
 pref("mail.biff.show_new_alert",     true);
 
 // default calendar integration
 pref("mail.calendar-integration.opt-out", false);
 
 pref("mailnews.ui.deleteMarksRead", true);
 
 // The maximum amount of decoded image data we'll willingly keep around (we