mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
470 B
HTML
23 lines
470 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>WebGL test: WebGL2RenderingContext not exposed</title>
|
|
<script src="/MochiKit/MochiKit.js"></script>
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
|
|
</head>
|
|
<body>
|
|
<script>
|
|
|
|
var exposed = false;
|
|
try {
|
|
null instanceof WebGL2RenderingContext;
|
|
exposed = true;
|
|
} catch (e) {}
|
|
|
|
ok(!exposed, 'WebGL2RenderingContext should not be exposed.');
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|