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.
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>
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>
23 description("This test ensures WebGL2 implementations do not respond to experimental-webgl2.");
27 var canvas
= document
.getElementById("canvas");
28 shouldBeNull('canvas.getContext("experimental-webgl2")');
30 var successfullyParsed
= true;
32 <script src=
"../../js/js-test-post.js"></script>