mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788653 - Make enablePrivilege pref name more dire. r=bholley
This commit is contained in:
parent
7d0d6c3a63
commit
05d832e89a
@ -448,7 +448,7 @@ user_pref("extensions.getAddons.search.browseURL", "http://%(server)s/extensions
|
||||
user_pref("extensions.getAddons.search.url", "http://%(server)s/extensions-dummy/repositorySearchURL");
|
||||
|
||||
// Make enablePrivilege continue to work for test code. :-(
|
||||
user_pref("security.enablePrivilege.enable_for_tests", true);
|
||||
user_pref("security.turn_off_all_security_so_that_viruses_can_take_over_this_computer", true);
|
||||
|
||||
// Get network events.
|
||||
user_pref("network.activity.blipIntervalMilliseconds", 250);
|
||||
|
@ -113,7 +113,7 @@ nsSecurityNameSet::InitializeNameSet(nsIScriptContext* aScriptContext)
|
||||
// uses enablePrivilege. If you're not doing test automation, you _must_ not
|
||||
// flip this pref, or you will be exposing all your users to security
|
||||
// vulnerabilities.
|
||||
if (!Preferences::GetBool("security.enablePrivilege.enable_for_tests"))
|
||||
if (!Preferences::GetBool("security.turn_off_all_security_so_that_viruses_can_take_over_this_computer"))
|
||||
return NS_OK;
|
||||
|
||||
/* Define PrivilegeManager object with the necessary "static" methods. */
|
||||
|
@ -34,4 +34,5 @@ user_pref("javascript.options.methodjit_always", false);
|
||||
user_pref("javascript.options.strict", false);
|
||||
user_pref("javascript.options.werror", false);
|
||||
user_pref("toolkit.startup.max_resumed_crashes", -1);
|
||||
user_pref("security.enablePrivilege.enable_for_tests", true);
|
||||
user_pref("security.turn_off_all_security_so_that_viruses_can_take_over_this_computer", true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user