tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

no-experimental-webgl2.html (969B)


      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 -->
      6 
      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.");
     24 
     25 debug("");
     26 
     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>
     33 
     34 </body>
     35 </html>