ShouldBe(gl, gl.NO_ERROR, "should be no more errors");

    gl.texParameterf(gl.TEXTURE_2D, 0x90EA /* DEPTH_STENCIL_TEXTURE_MODE_WEBGL */, gl.DEPTH_COMPONENT);
    wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "parameter unknown for texParameterf without enabling the extension");
    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "should be no more errors");

    const sampler = gl.createSampler();
    gl.samplerParameteri(sampler, 0x90EA /* DEPTH_STENCIL_TEXTURE_MODE_WEBGL */, gl.DEPTH_COMPONENT);
    wtu.glErrorShouldBe