Closed Bug 746738 Opened 13 years ago Closed 13 years ago

WebGL GetShaderParameter shouldn't accept illegal pnames

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

Details

(Whiteboard: webgl-conformance)

switch (pname) { case LOCAL_GL_SHADER_TYPE: case LOCAL_GL_INFO_LOG_LENGTH: ... case LOCAL_GL_SHADER_SOURCE_LENGTH: ... case LOCAL_GL_DELETE_STATUS: case LOCAL_GL_COMPILE_STATUS: The WebGL spec doesn't have the two *LENGTH pnames (though GLES2 does). The patch in bug 745897 will fix this.
Thanks for the tests!
Whiteboard: webgl-conformance webgl-test-needed → webgl-conformance
Confirming it's fixed by 745897.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.