Re: Request to change WebSpeech to remove usage of SpeechSynthesisVoiceList

Yeah, I am doing exactly the same to the WebRTC stuff in WebKit. The
recentish support for sequence<> in WebKit rocks. And the change
wouldn't break anything either.

/Tommy


On Thu, Jan 17, 2013 at 9:27 AM, Hans Wennborg <hwennborg@google.com> wrote:
> 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:35:16 UTC