 test.typeName);
            debug('');
        }
    });
}

function testQueries() {
    debug('Query');

    expandoValue = "First query";
    var query1 = gl.createQuery();
    setTestExpandos(query1);
    gl.beginQuery(gl.ANY_SAMPLES_PASSED, query1);

    expandoValue = "Second query";
    var query2 = gl.createQuery();
    setTestExpandos(query2);
    gl.beginQuery(gl.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, query2);


    assertMsg(query1 === gl.getQuery(gl.ANY_SAMPLES_PASSED, gl.CURRENT_QUERY), "CURREN