Skip to content
GitLab
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
torbutton
Commits
3b29f04c
Unverified
Commit
3b29f04c
authored
Aug 20, 2020
by
Georg Koppen
Browse files
Bug 21601: Remove unused media.webaudio.enabled pref
It is gone since
https://bugzilla.mozilla.org/show_bug.cgi?id=968479
.
parent
578edc4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/security-prefs.js
View file @
3b29f04c
...
...
@@ -2,7 +2,7 @@
// ### Utilities
let
{
getBoolPref
,
setBoolPref
,
getIntPref
,
setIntPref
}
=
let
{
getBoolPref
,
setBoolPref
,
getIntPref
,
setIntPref
,
clearUserPref
}
=
ChromeUtils
.
import
(
"
resource://gre/modules/Services.jsm
"
,
{}).
Services
.
prefs
;
// Used for detecting the current system architecture
...
...
@@ -28,7 +28,6 @@ const kSecuritySettings = {
"
javascript.options.ion
"
:
[,
false
,
false
,
false
,
true
],
"
javascript.options.baselinejit
"
:
[,
false
,
false
,
false
,
true
],
"
javascript.options.native_regexp
"
:
[,
false
,
false
,
false
,
true
],
"
media.webaudio.enabled
"
:
[,
false
,
false
,
false
,
true
],
"
mathml.disabled
"
:
[,
true
,
true
,
true
,
false
],
"
gfx.font_rendering.graphite.enabled
"
:
[,
false
,
false
,
false
,
true
],
"
gfx.font_rendering.opentype_svg.enabled
"
:
[,
false
,
false
,
false
,
true
],
...
...
@@ -143,7 +142,6 @@ var initialize = function () {
// If the security settings level and the prefs that we did not change
// have the default value, reset to default security level.
const
prefNames
=
[
"
media.webaudio.enabled
"
,
"
mathml.disabled
"
,
"
gfx.font_rendering.opentype_svg.enabled
"
,
"
svg.disabled
"
...
...
@@ -153,6 +151,7 @@ var initialize = function () {
read_setting_from_prefs
(
prefNames
)
===
4
)
{
setBoolPref
(
kCustomPref
,
false
);
}
clearUserPref
(
"
media.webaudio.enabled
"
);
setIntPref
(
kSliderMigration
,
1
);
}
log
(
4
,
"
security-prefs.js initialization complete
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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