Last Comment Bug 746733 - WebGL GetProgramParameter shouldn't accept illegal pnames
: WebGL GetProgramParameter shouldn't accept illegal pnames
Status: RESOLVED FIXED
webgl-conformance
:
Product: Core
Classification: Components
Component: Canvas: WebGL (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Milan Sreckovic [:milan]
Mentors:
Depends on: 745897
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-18 14:16 PDT by Boris Zbarsky [:bz] (still a bit busy)
Modified: 2012-05-10 06:01 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Boris Zbarsky [:bz] (still a bit busy) 2012-04-18 14:16:17 PDT
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 2 Benoit Jacob [:bjacob] (mostly away) 2012-05-10 06:01:35 PDT
Thanks for the tests. Confirming it's fixed by 745897.

Note You need to log in before you can comment on or make changes to this bug.