Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: LayoutTests/fast/canvas/webgl/renderer-and-vendor-strings.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <script src="resources/webgl-test.js"></script> 3 <script src="resources/webgl-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <div id="description"></div> 6 <div id="description"></div>
7 <div id="console"></div> 7 <div id="console"></div>
8 8
9 <script> 9 <script>
10 description("Verifies the contents of the RENDERER and VENDOR strings to avoid r egressions.") 10 description("Verifies the contents of the RENDERER and VENDOR strings to avoid r egressions.")
11 11
12 if (window.initNonKhronosFramework) 12 if (window.initNonKhronosFramework)
13 window.initNonKhronosFramework(false); 13 window.initNonKhronosFramework(false);
14 14
15 var gl = create3DContext(); 15 var gl = create3DContext();
16 16
17 // Consensus in the WebGL working group has been to mask the 17 // Consensus in the WebGL working group has been to mask the
18 // underlying hardware's RENDERER and VENDOR strings, which leak a 18 // underlying hardware's RENDERER and VENDOR strings, which leak a
19 // certain amount of personally identifiable information. This test is 19 // certain amount of personally identifiable information. This test is
20 // intended only to catch accidental regressions, not to enforce the 20 // intended only to catch accidental regressions, not to enforce the
21 // specific strings. 21 // specific strings.
22 22
23 shouldBe("gl.getParameter(gl.RENDERER)", '"WebKit WebGL"'); 23 shouldBe("gl.getParameter(gl.RENDERER)", '"WebKit WebGL"');
24 shouldBe("gl.getParameter(gl.VENDOR)", '"WebKit"'); 24 shouldBe("gl.getParameter(gl.VENDOR)", '"WebKit"');
25 </script> 25 </script>
26 26
27 </body> 27 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698