Index: Source/modules/speech/SpeechSynthesis.idl |
diff --git a/Source/modules/speech/SpeechSynthesis.idl b/Source/modules/speech/SpeechSynthesis.idl |
index 85f06366a813c234b1b1c13455057f7d19055924..a88e4968efebd4820bfff8142bc1d8ed3f923ac8 100644 |
--- a/Source/modules/speech/SpeechSynthesis.idl |
+++ b/Source/modules/speech/SpeechSynthesis.idl |
@@ -26,7 +26,7 @@ |
[ |
NoInterfaceObject, |
RuntimeEnabled=SpeechSynthesis |
-] interface SpeechSynthesis { |
+] interface SpeechSynthesis : EventTarget { |
readonly attribute boolean pending; |
readonly attribute boolean speaking; |
readonly attribute boolean paused; |
@@ -36,4 +36,6 @@ |
void pause(); |
void resume(); |
sequence<SpeechSynthesisVoice> getVoices(); |
+ |
+ attribute EventHandler onvoiceschanged; |
}; |