Re: Request to change WebSpeech to remove usage of SpeechSynthesisVoiceList

On Wed, Jan 16, 2013 at 9:19 PM, Chris Fleizach <cfleizach@apple.com> wrote:
> Hi,
>
> I think that instead of using the custom SpeechSynthesisVoiceList object, we can use a normative Javascript array to return the list of voices
> in getVoices().
>
> The IDL change would change from
>
> interface SpeechSynthesis {
>         SpeechSynthesisVoiceList getVoices();
> };
>
> to
>
> interface SpeechSynthesis {
>         sequence<SpeechSynthesisVoice> getVoices();
> };
>
> Then the SpeechSynthesisVoiceList can be removed.
>
> Thanks for your consideration

+tommyw

I guess this would apply to the other lists in the spec too? I.e.
SpeechGrammarList and SpeechRecognitionResultList?

Seems like this would both simplify the spec and implementation a bit.

Thanks,
Hans

Received on Thursday, 17 January 2013 08:27:55 UTC