AudioContext.createBuffer to create a buffer of size 0

I would like to modify the spec for AudioContext.createBuffer (the
non-decoding overload) to require the implementation to throw an exception
if the length passed in is 0.  Gecko currently doesn't handle this at all,
and WebKit/Blink throw SYNTAX_ERR.  I would like to move towards throwing
NOT_SUPPORTED_ERR for all of these types of error codes.  (Same for
unsupported sampling rate ranges, for example.)

Does anyone object to doing that?

Thanks!
--
Ehsan
<http://ehsanakhgari.org/>

Received on Thursday, 23 May 2013 18:31:54 UTC