blob: 263ffcac0b9b3f750091d82d3b87dbd803a79132 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../http/tests/inspector/resources/inspector-test.js"></script>
<script src="resources/shaderProgram-utilities.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>