1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
2 Test of getActiveAttrib and getActiveUniform
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS getError was expected value: NO_ERROR :
7 PASS context.getActiveUniform(program, 0).name is 'u_modelViewProjMatrix'
8 PASS context.getActiveUniform(program, 0).type is context.FLOAT_MAT4
9 PASS context.getActiveUniform(program, 0).size is 1
10 PASS context.getActiveUniform(program, 1) is null
11 PASS getError was expected value: INVALID_VALUE :
12 PASS context.getActiveUniform(program, -1) is null
13 PASS getError was expected value: INVALID_VALUE :
14 PASS context.getActiveUniform(null, 0) is null
15 PASS getError was expected value: INVALID_VALUE :
16 PASS info[ii] is non-null.
17 PASS info[ii] is non-null.
18 PASS info[ii].name is expected[ii].name
19 PASS info[ii].type is expected[ii].type
20 PASS info[ii].size is expected[ii].size
21 PASS info[ii].name is expected[ii].name
22 PASS info[ii].type is expected[ii].type
23 PASS info[ii].size is expected[ii].size
24 PASS info2[ii] is non-null.
25 PASS info2[ii] is non-null.
26 PASS info2[ii].name is expected2[ii].name
27 PASS info2[ii].type is expected2[ii].type
28 PASS info2[ii].size is expected2[ii].size
29 PASS info2[ii].name is expected2[ii].name
30 PASS info2[ii].type is expected2[ii].type
31 PASS info2[ii].size is expected2[ii].size
32 PASS context.getActiveAttrib(program, 2) is null
33 PASS getError was expected value: INVALID_VALUE :
34 PASS context.getActiveAttrib(program, -1) is null
35 PASS getError was expected value: INVALID_VALUE :
36 PASS context.getActiveAttrib(null, 0) is null
37 PASS getError was expected value: INVALID_VALUE :
38 PASS getError was expected value: NO_ERROR :
39 Check trying to get attribs from different context
40 PASS context2.getActiveAttrib(program, 0) is null
41 PASS getError was expected value: INVALID_OPERATION :
42 PASS context2.getActiveUniform(program, 0) is null
43 PASS getError was expected value: INVALID_OPERATION :
44 Check trying to get attribs from deleted program
45 PASS context.getActiveUniform(program, 0) is null
46 PASS getError was expected value: INVALID_VALUE :
47 PASS context.getActiveAttrib(program, 0) is null
48 PASS getError was expected value: INVALID_VALUE :
49 PASS successfullyParsed is true