Last Comment Bug 746738 - WebGL GetShaderParameter shouldn't accept illegal pnames
: WebGL GetShaderParameter 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
:
Mentors:
Depends on: 745897
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-18 14:20 PDT by Boris Zbarsky [:bz]
Modified: 2012-05-10 06:00 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Boris Zbarsky [:bz] 2012-04-18 14:20:47 PDT
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 2 Benoit Jacob [:bjacob] (mostly away) 2012-05-10 05:59:54 PDT
Thanks for the tests!
Comment 3 Benoit Jacob [:bjacob] (mostly away) 2012-05-10 06:00:42 PDT
Confirming it's fixed by 745897.

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