Bug 918388 - Enable Synth Web Speech API pref in b2g. r=fabrice r=smaug

This commit is contained in:
Eitan Isaacson 2013-09-27 10:03:05 -07:00
parent 165a1f3505
commit 8aa87ed7e6
2 changed files with 6 additions and 0 deletions

View File

@ -808,3 +808,6 @@ pref("dom.telephony.enabled", true);
// The url of the page used to display network error details.
pref("b2g.neterror.url", "app://system.gaiamobile.org/net_error.html");
// Enable Web Speech synthesis API
pref("media.webspeech.synth.enabled", true);

View File

@ -400,6 +400,9 @@ var interfaceNamesInGlobalScope =
"SpeechRecognitionError",
"SpeechRecognitionEvent",
"SpeechSynthesisEvent",
{name: "SpeechSynthesis", b2g: true},
{name: "SpeechSynthesisUtterance", b2g: true},
{name: "SpeechSynthesisVoice", b2g: true},
{name: "SpecialPowers", xbl: false},
"Storage",
"StorageEvent",