_T'];
if (gl.TEXTURE_WRAP_R) {
    pnames.push('TEXTURE_WRAP_R');
}

function runTestNoExtension() {
    debug("");
    debug("Check the texture parameter without the extension");

    const tex = gl.createTexture();
    gl.bindTexture(gl.TEXTURE_2D, tex);

    const MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;

    for (const pname of pnames) {
        gl.texParameteri(gl.TEXTURE_2D, gl[pname], MIRROR_CLAMP_TO_EDGE_EXT);
        wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, `value unknown for ${pname} via texParameteri w