Index: Source/modules/speech/SpeechRecognition.idl |
diff --git a/Source/modules/speech/SpeechRecognition.idl b/Source/modules/speech/SpeechRecognition.idl |
index 2baaa9d896f186e7bafd78d0e70456f2474bdf5c..9f6634ebb5794d20c9a68c66cdbafe5f55bfcf18 100644 |
--- a/Source/modules/speech/SpeechRecognition.idl |
+++ b/Source/modules/speech/SpeechRecognition.idl |
@@ -27,9 +27,8 @@ |
NoInterfaceObject, |
ActiveDOMObject, |
Constructor, |
- ConstructorCallWith=ScriptExecutionContext, |
- EventTarget |
-] interface SpeechRecognition { |
+ ConstructorCallWith=ScriptExecutionContext |
+] interface SpeechRecognition : EventTarget { |
attribute SpeechGrammarList grammars; |
attribute DOMString lang; |
attribute boolean continuous; |
@@ -51,13 +50,4 @@ |
attribute EventListener onerror; |
attribute EventListener onstart; |
attribute EventListener onend; |
- |
- // EventTarget interface |
- void addEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- void removeEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- [RaisesException] boolean dispatchEvent(Event evt); |
}; |