Update ANGLE
[WebKit-https.git] / LayoutTests / inspector / canvas / create-context-bitmaprenderer.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="resources/create-context-utilities.css">
5 <script src="../../http/tests/inspector/resources/inspector-test.js"></script>
6 <script src="resources/create-context-utilities.js"></script>
7 <script>
8 function test() {
9     let suite = InspectorTest.CreateContextUtilities.initializeTestSuite("Canvas.CreateContextBitmapRenderer");
10
11     InspectorTest.CreateContextUtilities.addSimpleTestCase({
12         name: "Attached",
13         expression: `createAttachedCanvas("bitmaprenderer")`,
14         contextType: WI.Canvas.ContextType.BitmapRenderer,
15     });
16
17     InspectorTest.CreateContextUtilities.addSimpleTestCase({
18         name: "Detached",
19         expression: `createDetachedCanvas("bitmaprenderer")`,
20         contextType: WI.Canvas.ContextType.BitmapRenderer,
21     });
22
23     suite.runTestCasesAndFinish();
24 }
25 </script>
26 </head>
27 <body onload="runTest()">
28     <p>Test that CanvasManager tracks creation and destruction of BitmapRenderer canvases.</p>
29 </body>
30 </html>