Backed out changeset 7272b7396c78 (bug 1932758) for causing fenix debug failures...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / conformance2 / context / no-experimental-webgl2.html
blob65aa9cb16d69bcda5756be955d997a4c1d512ea5
1 <!--
2 Copyright (c) 2019 The Khronos Group Inc.
3 Use of this source code is governed by an MIT-style license that can be
4 found in the LICENSE.txt file.
5 -->
7 <!DOCTYPE html>
8 <html>
9 <head>
10 <meta charset="utf-8">
11 <title>WebGL2 Canvas Conformance Tests</title>
12 <link rel="stylesheet" href="../../resources/js-test-style.css"/>
13 <script src="../../js/js-test-pre.js"></script>
14 <script src="../../js/webgl-test-utils.js"></script>
15 </head>
16 <body>
17 <div id="description"></div>
18 <div id="console"></div>
19 <canvas id="canvas" style="width: 50px; height: 50px;"> </canvas>
20 <canvas id="canvas2d" width="40" height="40"> </canvas>
21 <script>
22 "use strict";
23 description("This test ensures WebGL2 implementations do not respond to experimental-webgl2.");
25 debug("");
27 var canvas = document.getElementById("canvas");
28 shouldBeNull('canvas.getContext("experimental-webgl2")');
29 debug("");
30 var successfullyParsed = true;
31 </script>
32 <script src="../../js/js-test-post.js"></script>
34 </body>
35 </html>