WebGL GetBufferParameter shouldn't accept illegal pnames

RESOLVED FIXED

Status

()

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

People

(Reporter: bjacob, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: webgl-conformance)

switch (pname) {
        case LOCAL_GL_BUFFER_SIZE:
        case LOCAL_GL_BUFFER_USAGE:
        case LOCAL_GL_BUFFER_ACCESS:
        case LOCAL_GL_BUFFER_MAPPED:

ACCESS and MAPPED dont exist in WebGL or in GLES2.
Depends on: 745897
I think the patch in bug 745897 fixed this.

Comment 2

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
(Reporter)

Comment 3

5 years ago
Thanks for the test. Confirming that bug 745897 fixed this.
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.