Index: modules/speech/SpeechRecognitionError.idl |
diff --git a/modules/speech/SpeechRecognitionError.idl b/modules/speech/SpeechRecognitionError.idl |
index 0150174a0c65b63363a37941b38a79bfa806ef21..5267e53331788558c5aabbac25e2baf73b3b81f9 100644 |
--- a/modules/speech/SpeechRecognitionError.idl |
+++ b/modules/speech/SpeechRecognitionError.idl |
@@ -25,8 +25,8 @@ |
[ |
NoInterfaceObject, |
- EventConstructor, |
+ Constructor(DOMString type, optional SpeechRecognitionErrorInit initDict), |
] interface SpeechRecognitionError : Event { |
- [InitializedByEventConstructor] readonly attribute DOMString error; |
- [InitializedByEventConstructor] readonly attribute DOMString message; |
+ readonly attribute DOMString error; |
+ readonly attribute DOMString message; |
}; |