Khronos Public Bugzilla
Bug 632 - Ensure tests exist for error conditions from various get methods
Ensure tests exist for error conditions from various get methods
Status: NEW
Product: WebGL
Classification: Unclassified
Component: Conformance Tests
unspecified
All All
: P3 normal
: ---
Assigned To: 3dweb Working Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-27 12:36 PDT by Kenneth Russell
Modified: 2012-04-27 12:36 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2012-04-27 12:36:02 PDT
The draft spec recently clarified the behavior of the following methods under error conditions:

getAttachedShaders
getProgramParameter
getProgramInfoLog
getShaderParameter
getShaderInfoLog
getShaderSource
getActiveAttrib
getActiveUniform
getUniform
getUniformLocation

A pass through the conformance tests is needed to ensure that null is returned in all of the error situations -- at least, passing a null object (program, shader, etc.), a deleted object, etc.