| Index: modules/speech/SpeechSynthesis.idl
|
| diff --git a/modules/speech/SpeechSynthesis.idl b/modules/speech/SpeechSynthesis.idl
|
| index 4fa847a3399f97f54a2585e272e657274143629c..a88e4968efebd4820bfff8142bc1d8ed3f923ac8 100644
|
| --- a/modules/speech/SpeechSynthesis.idl
|
| +++ b/modules/speech/SpeechSynthesis.idl
|
| @@ -25,15 +25,17 @@
|
|
|
| [
|
| NoInterfaceObject,
|
| - EnabledAtRuntime=SpeechSynthesis
|
| -] interface SpeechSynthesis {
|
| + RuntimeEnabled=SpeechSynthesis
|
| +] interface SpeechSynthesis : EventTarget {
|
| readonly attribute boolean pending;
|
| readonly attribute boolean speaking;
|
| readonly attribute boolean paused;
|
|
|
| - void speak(SpeechSynthesisUtterance utterance);
|
| + [RaisesException] void speak(SpeechSynthesisUtterance utterance);
|
| void cancel();
|
| void pause();
|
| void resume();
|
| sequence<SpeechSynthesisVoice> getVoices();
|
| +
|
| + attribute EventHandler onvoiceschanged;
|
| };
|
|
|