          }
                            } else {
                                wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "sampling stencil using incompatible program");
                            }
                        }
                    }
                }
            }
        }
    }
}

function runTest() {
    if (!gl) {
        testFailed("context does not exist");
        return;
    }
    testPassed("context exists");

    runTestNoExtension();

    ext = gl.getExtension("WEBGL_stencil_t