resultIndex attribute as unsigned long

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 Friday, 7 September 2012 02:32:12 UTC