On Sat, 12 May 2007 18:21:21 +0200, Darin Adler <[EMAIL PROTECTED]> wrote:
If it's unsigned, it's ambiguous what behavior should be when an attempt is made to set the value to a signed value via JavaScript. Should an INDEX_SIZE_ERR exception be raised? Should the value be ignored?

I think I ran into this problem with HTMLOptionsCollection length property.

The idea is that this will eventually be clarified by some specification that defines common mappings from pseudo-IDL to ECMAScript. However, there hasn't been much progress on that. I believe INDEX_SIZE_ERR would be correct here, though.


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Reply via email to