
        if (test.bindConstant === null) {
            test.bindFn.call(gl, instance);
        } else {
            test.bindFn.call(gl, test.bindConstant, instance);
        }
        assertMsg(instance === gl.getParameter(test.retrieveConstant), msg + " returns instance that was bound.");

        // Garbage collect Javascript references.  Remaining references should be internal to WebGL.
        instance = null;
        webglHarnessCollectGarbage();

        var retrievedObject = gl.getParameter(test.ret