blob: 935d1e8b7f6e8233220f99a59b8c468ac8f5259c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<head>
<script src="../../../resources/js-test.js"></script>
<script src="resources/webgl-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script>
description("Verifies the contents of the RENDERER and VENDOR strings to avoid regressions.")
if (window.initNonKhronosFramework)
window.initNonKhronosFramework(false);
var gl = create3DContext();
// Consensus in the WebGL working group has been to mask the
// underlying hardware's RENDERER and VENDOR strings, which leak a
// certain amount of personally identifiable information. This test is
// intended only to catch accidental regressions, not to enforce the
// specific strings.
shouldBe("gl.getParameter(gl.RENDERER)", '"WebKit WebGL"');
shouldBe("gl.getParameter(gl.VENDOR)", '"WebKit"');
</script>
</body>
|