Khronos Public Bugzilla
Bug 350 - context-attributes-alpha-depth-stencil-antialias.html issue with shouldBeNull
context-attributes-alpha-depth-stencil-antialias.html issue with shouldBeNull
Status: NEW
Product: WebGL
Classification: Unclassified
Component: Conformance Tests
unspecified
PC All
: P3 normal
: ---
Assigned To: 3dweb Working Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-25 16:35 PDT by Benoit Jacob
Modified: 2010-08-25 16:36 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Jacob 2010-08-25 16:35:35 PDT
The test context-attributes-alpha-depth-stencil-antialias.html seems to have a bug: here in Firefox it complains 'webGL is null'. This variable is initialized as null and is then meant to be assigned another value by:

    if (alpha)
        shouldBeNonNull("webGL = getWebGL('alphaOn', { alpha: true, depth: false, stencil: false, antialias: false }, [ 0, 0, 0, 0 ], 1, 0)");
    else
        shouldBeNonNull("webGL = getWebGL('alphaOff', { alpha: false, depth: false, stencil: false, antialias: false }, [ 0, 0, 0, 0 ], 1, 0)");


could it be that shouldBeNonNull is not working as expected in Firefox?