3c6311d9238573a61590159a28ec7842f8e40445
[WebKit-https.git] / LayoutTests / inspector / canvas / shaderProgram-add-remove-webgl.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../http/tests/inspector/resources/inspector-test.js"></script>
5 <script src="resources/shaderProgram-utilities-webgl.js"></script>
6 <script>
7 function test() {
8     let suite = initializeTestSuite("webgl");
9
10     addSimpleTestCase("webgl");
11     addParentCanvasRemovedTestCase("webgl");
12
13     suite.runTestCasesAndFinish();
14 }
15 </script>
16 </head>
17 <body onload="runTest()">
18     <p>Test that CanvasManager tracks creation and destruction of WebGL shader programs.</p>
19 </body>
20 <script>
21     createProgram("webgl");
22 </script>
23 </html>