blob: b9d8ddecdf72a4d3d130419baa66936321e67c69 [file] [log] [blame]
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