Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
Tor Browser
Commits
7e9e25c5
Commit
7e9e25c5
authored
Oct 09, 2020
by
Alex Catarineu
Committed by
Matthew Finkel
Jan 15, 2021
Browse files
Bug 40166: Disable security.certerrors.mitm.auto_enable_enterprise_roots
parent
a0613081
Changes
2
Show whitespace changes
Inline
Side-by-side
browser/app/profile/000-tor-browser.js
View file @
7e9e25c5
...
@@ -313,6 +313,9 @@ pref("security.enterprise_roots.enabled", false);
...
@@ -313,6 +313,9 @@ pref("security.enterprise_roots.enabled", false);
// Don't ping Mozilla for MitM detection, see bug 32321
// Don't ping Mozilla for MitM detection, see bug 32321
pref
(
"
security.certerrors.mitm.priming.enabled
"
,
false
);
pref
(
"
security.certerrors.mitm.priming.enabled
"
,
false
);
// Don't automatically enable enterprise roots, see bug 40166
pref
(
"
security.certerrors.mitm.auto_enable_enterprise_roots
"
,
false
);
// Disable the language pack signing check for now on macOS, see #31942
// Disable the language pack signing check for now on macOS, see #31942
#
ifdef
XP_MACOSX
#
ifdef
XP_MACOSX
pref
(
"
extensions.langpacks.signatures.required
"
,
false
);
pref
(
"
extensions.langpacks.signatures.required
"
,
false
);
...
...
browser/components/BrowserGlue.jsm
View file @
7e9e25c5
...
@@ -1346,6 +1346,20 @@ BrowserGlue.prototype = {
...
@@ -1346,6 +1346,20 @@ BrowserGlue.prototype = {
// handle any UI migration
// handle any UI migration
this
.
_migrateUI
();
this
.
_migrateUI
();
// Clear possibly auto enabled enterprise_roots prefs (see bug 40166)
if
(
!
Services
.
prefs
.
getBoolPref
(
"security.certerrors.mitm.auto_enable_enterprise_roots"
)
&&
Services
.
prefs
.
getBoolPref
(
"security.enterprise_roots.auto-enabled"
,
false
)
)
{
Services
.
prefs
.
clearUserPref
(
"security.enterprise_roots.enabled"
);
Services
.
prefs
.
clearUserPref
(
"security.enterprise_roots.auto-enabled"
);
}
if
(
!
Services
.
prefs
.
prefHasUserValue
(
PREF_PDFJS_ISDEFAULT_CACHE_STATE
))
{
if
(
!
Services
.
prefs
.
prefHasUserValue
(
PREF_PDFJS_ISDEFAULT_CACHE_STATE
))
{
PdfJs
.
checkIsDefault
(
this
.
_isNewProfile
);
PdfJs
.
checkIsDefault
(
this
.
_isNewProfile
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment