Move default-enable pref to application.

This commit is contained in:
wolfbeast 2019-02-28 13:58:23 +01:00 • committed by Roy Tam
commit c283102a46
2 changed files with 14 additions and 5 deletions

View file

@ -1160,6 +1160,14 @@ pref("toolkit.pageThumbs.minHeight", 180);
pref("ui.key.menuAccessKeyFocuses", true); pref("ui.key.menuAccessKeyFocuses", true);
#endif #endif
// When a user cancels this number of authentication dialogs coming from
// a single web page (eTLD+1) in a row, all following authentication dialogs
// will be blocked (automatically canceled) for that page.
// This counter is per-tab and per-domain to minimize false positives.
// The counter resets when the page is reloaded from the UI
// (content-reloads do NOT clear this to mitigate reloading tricks).
pref("prompts.authentication_dialog_abuse_limit", 3);
// ****************** s4e prefs ****************** // ****************** s4e prefs ******************
pref("status4evar.addonbar.borderStyle", false); pref("status4evar.addonbar.borderStyle", false);
pref("status4evar.addonbar.closeButton", false); pref("status4evar.addonbar.closeButton", false);

View file

@ -5459,8 +5459,9 @@ pref("dom.storageManager.enabled", true);
pref("dom.storageManager.enabled", false); pref("dom.storageManager.enabled", false);
#endif #endif
// When a user cancels this number of authentication dialogs coming from // DoS protection for HTTP Auth prompt spawning.
// a single web page in a row, all following authentication dialogs will // -1 = completely disable HTTP Auth prompting. (careful!)
// be blocked (automatically canceled) for that page. The counter resets // 0 = disable this DoS protection
// when the page is reloaded. To turn this feature off, just set the limit to 0. // >0 = suppress further prompts after the user has canceled the dialog n times
pref("prompts.authentication_dialog_abuse_limit", 3); // See application preferences for appropriate defaults.
pref("prompts.authentication_dialog_abuse_limit", 0);