uldn't be able to bind a deleted sampler.
    gl.bindSampler(0, s2);
    wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "binding a deleted Sampler object");
    gl.bindSampler(0, null);
    shouldBeNull("gl.getParameter(gl.SAMPLER_BINDING)");
    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "there should be no errors");
}

function runObjectTest() {
    debug("Testing object creation");

    s1 = gl.createSampler();
    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "createSampler should not set an error");
    shouldBeNonNul