Poor error events in SpeechSynthesis API

Hello.

The speech recognition API has a very detailed SpeechRecognitionError
event. But synthesis only has an opaque "error" event type, with no
further details on the type of error or a human readable message. I
recommend adding a 'message' attribute to SpeechSynthesisEvent that
should be used ONLY on error events. Furthermore, the 'name' attribute
could be used to specify the error type from a limited corpus, similar
to ErrorCode in SpeechRecognitionError.

Cheers,
  Eitan.

Received on Thursday, 7 February 2013 11:04:27 UTC