Index: modules/speech/SpeechSynthesisUtterance.idl |
diff --git a/modules/speech/SpeechSynthesisUtterance.idl b/modules/speech/SpeechSynthesisUtterance.idl |
index 3a9a64bb5dd0ce6e5308870006eb8a28c6fb1740..916d51d5d01c4a8c980362b1e34b5553b62d9e55 100644 |
--- a/modules/speech/SpeechSynthesisUtterance.idl |
+++ b/modules/speech/SpeechSynthesisUtterance.idl |
@@ -20,15 +20,14 @@ |
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
- |
+ |
[ |
EnabledAtRuntime=speechSynthesis, |
- EventTarget, |
ConstructorCallWith=ScriptExecutionContext, |
Constructor([Default=NullString] optional DOMString text) |
-] interface SpeechSynthesisUtterance { |
+] interface SpeechSynthesisUtterance : EventTarget { |
attribute DOMString text; |
attribute DOMString lang; |
attribute SpeechSynthesisVoice voice; |