Index: modules/speech/SpeechSynthesisEvent.idl |
diff --git a/modules/speech/SpeechSynthesisEvent.idl b/modules/speech/SpeechSynthesisEvent.idl |
index d0456eddfdc679cb1b8da97bf2356fd290138074..cec1e47999c5d278a8436b735ef541d358a89a71 100644 |
--- a/modules/speech/SpeechSynthesisEvent.idl |
+++ b/modules/speech/SpeechSynthesisEvent.idl |
@@ -23,7 +23,10 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-interface SpeechSynthesisEvent : Event { |
+[ |
+ RuntimeEnabled=ScriptedSpeech |
+] interface SpeechSynthesisEvent : Event { |
+ readonly attribute SpeechSynthesisUtterance utterance; |
readonly attribute unsigned long charIndex; |
readonly attribute float elapsedTime; |
readonly attribute DOMString name; |