| <script src="../../../resources/js-test.js"></script> |
| <script src="resources/webgl-test.js"></script> |
| <div id="description"></div> |
| 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 |
| shouldBe("gl.getParameter(gl.RENDERER)", '"WebKit WebGL"'); |
| shouldBe("gl.getParameter(gl.VENDOR)", '"WebKit"'); |