Closed
Bug 746738
Opened 11 years ago
Closed 11 years ago
WebGL GetShaderParameter shouldn't accept illegal pnames
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
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.
Comment 1•11 years ago
|
||
Added tests in https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/state/gl-object-get-calls.html
Comment 2•11 years ago
|
||
Thanks for the tests!
Whiteboard: webgl-conformance webgl-test-needed → webgl-conformance
Comment 3•11 years ago
|
||
Confirming it's fixed by 745897.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•