1
0
Fork 0
firefox/dom/canvas/test/webgl-mochitest/test_webgl_available.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

19 lines
466 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'/>
<title>WebGL test: Check that WebGL works out-of-the-box.</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
</head>
<body>
<script>
'use strict';
var c = document.createElement('canvas');
var gl = c.getContext('experimental-webgl');
ok(gl, 'Expected WebGL creation to succeed.');
</script>
</body>
</html>