The default bug view has changed. See this FAQ.

WebGL GetShaderParameter shouldn't accept illegal pnames

RESOLVED FIXED

Status

()

Core
Canvas: WebGL
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

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

5 years ago
Added tests in 
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/state/gl-object-get-calls.html
Thanks for the tests!
Whiteboard: webgl-conformance webgl-test-needed → webgl-conformance
Confirming it's fixed by 745897.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.