summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-02-28 00:42:11 +0100
committerMoonchild <moonchild@palemoon.org>2023-02-28 00:42:11 +0100
commitcd86d9ce3fc00519c8ae11d0222a898221be5f7c (patch)
tree7a6c1da64eab9dcbdfa552b3964696594c7430e6 /modules
parent6da7d30e761ba4406addececa5e0e4c7cbe68263 (diff)
downloaduxp-cd86d9ce3fc00519c8ae11d0222a898221be5f7c.tar.gz
No Issue - Remove speech recognition pref and enable TTS API by default.
Speech recognition was removed a while back. The pref is just leftover. Having the TTS API available will provide some accessibility benefits for users, so flip that on while we're here.
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 9881dc4d69..059cfd4149 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -582,8 +582,8 @@ pref("media.benchmark.frames", 300);
pref("media.benchmark.timeout", 1000);
#ifdef MOZ_WEBSPEECH
-pref("media.webspeech.recognition.enable", false);
-pref("media.webspeech.synth.enabled", false);
+// Web text-to-speech API enabled?
+pref("media.webspeech.synth.enabled", true);
#endif
#ifdef MOZ_WEBM_ENCODER
pref("media.encoder.webm.enabled", true);