Re: resultIndex attribute as unsigned long

I've updated the spec with this change:
https://dvcs.w3.org/hg/speech-api/rev/e67e08e439ce

As always, the current draft spec is at:
http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html

On Thu, Sep 6, 2012 at 7:31 PM, Glen Shires <gshires@google.com> wrote:

> I propose changing the resultIndex attribute from "short" to "unsigned
> long". Specifically, the IDL would be:
>
> SpeechRecognitionEvent : Event {
>      readonly attribute unsigned long resultIndex;
>
>
> I propose this for two reasons:
>
> - Capacity: short is limited to a maximum of 32767. It's not totally
> inconceivable that a very very long continuous dictation may have more
> results than this.
>
> - Consistency: all the other length attributes in the IDL are unsigned
> long.
>
> If there's no disagreement, I'll update this in the spec on Monday.
>
> /Glen Shires
>

Received on Monday, 10 September 2012 17:16:19 UTC