blob: 92fa3061ff58d2cd5ee8be11b296789a8ee19d79 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../http/tests/inspector/resources/inspector-test.js"></script>
<script src="resources/shaderProgram-utilities-webgl.js"></script>
<script>
if (window.internals)
internals.settings.setWebGL2Enabled(true);
function test() {
let suite = initializeTestSuite("webgl2");
addSimpleTestCase("webgl2");
addParentCanvasRemovedTestCase("webgl2");
suite.runTestCasesAndFinish();
}
</script>
</head>
<body onload="runTest()">
<p>Test that CanvasManager tracks creation and destruction of WebGL2 shader programs.</p>
</body>
<script>
createProgram("webgl2");
</script>
</html>