[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Requirements for bufferData don't make sense given the IDL
On Mon, Apr 2, 2012 at 9:22 AM, Boris Zbarsky <firstname.lastname@example.org>
In particular, it says:
If the passed data is null then an INVALID_VALUE error is generated.
But the IDL declarations for this method don't allow |data| to be null; an attempt to pass null will throw during the WebIDL overload resolution algorithm. Was this requirement meant to be on bufferSubData (which does allow null to be passed)? Or is bufferData supposed to have an overload that allows null?