[whatwg] HTMLMediaElement.volume
Ian Hickson
ian at hixie.ch
Tue Jan 15 19:00:01 PST 2008
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list