Closed Bug 746738 Opened 9 years ago Closed 9 years ago

WebGL GetShaderParameter shouldn't accept illegal pnames

Categories

(Core :: Canvas: WebGL, 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: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.