On Tue, Mar 13, 2012 at 10:58 AM, Tim Johansson <firstname.lastname@example.org>
For example validateProgram and useProgram both take WebGLProgram but have to accept null to pass the conformance tests IIRC. In the case of validateProgram it should give you INVALID_VALUE and in the case of useProgram it should actually do something (unbind the current program).
The conformance test is incorrect; validateProgram(null) should throw TypeError.Â (Since the WebGL spec doesn't correctly use nullable parameters, it's not too surprising if the tests get them wrong, too.)
useProgram's parameter should be nullable, of course.