haikuwebkit/LayoutTests/fast/canvas/webgl/gl-bind-attrib-mapped-names...

28 lines
949 B
Plaintext

This test ensures WebGL implementations don't allow names that start with 'gl_' when calling bindAttribLocation.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Canvas.getContext
PASS [object WebGLRenderingContext] is non-null.
Checking gl.bindAttribLocation.
PASS program linked successfully
vAVeryLongNameThatWillTriggerTheNameMappingInAllCasesABCDEFGHIJKLMNOPQ:3
vColor :2
PASS location of vAVeryLongNameThatWillTriggerTheNameMappingInAllCasesABCDEFGHIJKLMNOPQ should be 3
PASS location of vColor should be 2
PASS drawing is correct
PASS program linked successfully
vAVeryLongNameThatWillTriggerTheNameMappingInAllCasesABCDEFGHIJKLMNOPQ:3
vColor :0
PASS location of vAVeryLongNameThatWillTriggerTheNameMappingInAllCasesABCDEFGHIJKLMNOPQ should be 3
PASS location of vColor should be 0
PASS drawing is correct
PASS getError was expected value: NO_ERROR :
PASS successfullyParsed is true
TEST COMPLETE