summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-28 13:58:23 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-28 13:58:23 +0100
commitc08b490c5c44f5f04049f408ad0848e9843f0702 (patch)
tree550c6a94bcd13d5eea1c049cc70df6271c9ef806 /modules/libpref
parentc962e2051a1f3767a221254487bcfc6d53aa59a1 (diff)
downloadUXP-c08b490c5c44f5f04049f408ad0848e9843f0702.tar
UXP-c08b490c5c44f5f04049f408ad0848e9843f0702.tar.gz
UXP-c08b490c5c44f5f04049f408ad0848e9843f0702.tar.lz
UXP-c08b490c5c44f5f04049f408ad0848e9843f0702.tar.xz
UXP-c08b490c5c44f5f04049f408ad0848e9843f0702.zip
Move default-enable pref to application.
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index f6e90170e..3666ca425 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5451,8 +5451,9 @@ pref("dom.storageManager.enabled", true);
pref("dom.storageManager.enabled", false);
#endif
-// When a user cancels this number of authentication dialogs coming from
-// a single web page in a row, all following authentication dialogs will
-// be blocked (automatically canceled) for that page. The counter resets
-// when the page is reloaded. To turn this feature off, just set the limit to 0.
-pref("prompts.authentication_dialog_abuse_limit", 3);
+// DoS protection for HTTP Auth prompt spawning.
+// -1 = completely disable HTTP Auth prompting. (careful!)
+// 0 = disable this DoS protection
+// >0 = suppress further prompts after the user has canceled the dialog n times
+// See application preferences for appropriate defaults.
+pref("prompts.authentication_dialog_abuse_limit", 0);