Bug 1197944 - Change pref so that the http auth dialog is presented for sub resources as well. r=jduell, a=ritu
authorDragana Damjanovic <dd.mozilla@gmail.com>
Mon, 24 Aug 2015 12:26:00 -0400
changeset 289063 ca0ab2a3305b0b62a58b2803df024251256f3623
parent 289062 55dae3e3f058b91e85c1cd427a06a62aacc8abb3
child 289064 8bae9ec37b78758048f94feeddc7526d3ba1b2df
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell, ritu
bugs1197944
milestone42.0a2
Bug 1197944 - Change pref so that the http auth dialog is presented for sub resources as well. r=jduell, a=ritu
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1780,17 +1780,17 @@ pref("network.automatic-ntlm-auth.truste
 pref("network.generic-ntlm-auth.workstation", "WORKSTATION");
 
 // Sub-resources HTTP-authentication:
 //   0 - don't allow sub-resources to open HTTP authentication credentials
 //       dialogs
 //   1 - allow sub-resources to open HTTP authentication credentials dialogs,
 //       but don't allow it for cross-origin sub-resources
 //   2 - allow the cross-origin authentication as well.
-pref("network.auth.allow-subresource-auth", 1);
+pref("network.auth.allow-subresource-auth", 2);
 
 pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
 
 pref("network.proxy.type",                  5);
 pref("network.proxy.ftp",                   "");
 pref("network.proxy.ftp_port",              0);
 pref("network.proxy.http",                  "");
 pref("network.proxy.http_port",             0);