[whatwg] Canvas spec issues

Anne van Kesteren annevk at opera.com
Sat May 12 09:46:20 PDT 2007


On Sat, 12 May 2007 18:21:21 +0200, Darin Adler <darin at apple.com> 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/>



More information about the whatwg mailing list