[whatwg] HTMLMediaElement.volume

On Mon, 4 Jun 2007, Mathieu HENRI wrote:
> > >
> > > In general, actually, raising INDEX_SIZE_ERR is what the APIs do. So 
> > > for consistency, volume is correct.
> > > 
> > > globalAlpha, though, is not. What do people think? Should we change 
> > > the canvas globalAlpha attribute to raise an exception for 
> > > out-of-range values? Any browser vendors have an opinion?
> 
> What about INDEX_RANGE_ERR ? This name is explicit, and consistent with 
> INDEX_SIZE_ERR.

It's not like I'm making up a new error code, INDEX_SIZE_ERR is a DOM Core 
exception code. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 15 January 2008 19:00:01 UTC