- From: Kagami Rosylight <saschanaz@outlook.com>
- Date: Sun, 30 Apr 2017 18:39:45 +0000
- To: "public-speech-api@w3.org" <public-speech-api@w3.org>
Received on Sunday, 30 April 2017 18:40:19 UTC
Hi again,
E12 added IDL for SpeechSynthesisErrorEvent but it has two errors:
1. It uses invalid nested enum syntax.
2. It uses invalid Java-style ‘extends’ keyword
It should be:
```webidl
enum SpeechSynthesisErrorCode {
"canceled",
"interrupted",
"audio-busy",
"audio-hardware",
"network",
"synthesis-unavailable",
"synthesis-failed",
"language-unavailable",
"voice-unavailable",
"text-too-long",
"invalid-argument",
};
interface SpeechSynthesisErrorEvent : SpeechSynthesisEvent {
readonly attribute SpeechSynthesisErrorCode error;
};
```
Sincerely,
Kagami Sascha Rosylight
Received on Sunday, 30 April 2017 18:40:19 UTC