Note: There are a few cases of duplicates in user autocompletion which are being worked on.

WebGL GetProgramParameter 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)

(Reporter)

Description

5 years ago
2620     switch (pname) {
2621         case LOCAL_GL_CURRENT_PROGRAM:
2622         case LOCAL_GL_ATTACHED_SHADERS:
2623         case LOCAL_GL_INFO_LOG_LENGTH:
2624         case LOCAL_GL_ACTIVE_UNIFORMS:
2625         case LOCAL_GL_ACTIVE_UNIFORM_MAX_LENGTH:
2626         case LOCAL_GL_ACTIVE_ATTRIBUTES:
2627         case LOCAL_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH:

CURENT_PROGRAM is not in GLES2 or WebGL.  The three *_LENGTH pnames are in GLES2, but not WebGL.

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. Confirming it's fixed by 745897.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: webgl-conformance webgl-test-needed → webgl-conformance
You need to log in before you can comment on or make changes to this bug.