4 <title>WebGL test: Check for privileged ext access.
</title>
5 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
6 <link rel=
"stylesheet" href=
"/tests/SimpleTest/test.css">
7 <script src=
"driver-info.js"></script>
10 <canvas id=
"c"></canvas>
13 function TestExt(gl
, name
) {
14 var ext
= gl
.getExtension(name
);
15 ok(!ext
, 'Should not have access to \'' + name
+ '\'.');
19 var gl
= c
.getContext('webgl');
21 todo(gl
, 'Get GL working here first.');
25 // Privileged extensions:
26 TestExt(gl
, 'MOZ_debug');