Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / dom / canvas / test / webgl-mochitest / test_webgl_available.html
blobf6817c9858228b0bbe787c72bd9dc9ed1d67605a
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset='utf-8'/>
5 <title>WebGL test: Check that WebGL works out-of-the-box.</title>
6 <script src="/tests/SimpleTest/SimpleTest.js"></script>
7 <link rel="stylesheet" href="/tests/SimpleTest/test.css">
8 </head>
9 <body>
10 <script>
12 'use strict';
13 var c = document.createElement('canvas');
14 var gl = c.getContext('experimental-webgl');
15 ok(gl, 'Expected WebGL creation to succeed.');
17 </script>
18 </body>
19 </html>