Khronos Public Bugzilla
Bug 632 - Ensure tests exist for error conditions from various get methods
Summary: Ensure tests exist for error conditions from various get methods
Status: NEW
Alias: None
Product: WebGL
Classification: Unclassified
Component: Conformance Tests (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: 3dweb Working Group email alias
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
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.