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

Side by Side Diff: LayoutTests/fast/canvas/webgl/uniform-location.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <script src="resources/webgl-test.js"></script> 4 <script src="resources/webgl-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="description"></div> 7 <div id="description"></div>
8 <div id="console"></div> 8 <div id="console"></div>
9 9
10 <script> 10 <script>
11 description("Tests the WebGLUniformLocation API"); 11 description("Tests the WebGLUniformLocation API");
12 12
13 if (window.internals) 13 if (window.internals)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Retrieve the locations again, and they should be good. 63 // Retrieve the locations again, and they should be good.
64 locationSx = contextA.getUniformLocation(programS, "u_struct.x"); 64 locationSx = contextA.getUniformLocation(programS, "u_struct.x");
65 locationArray0 = contextA.getUniformLocation(programS, "u_array[0]"); 65 locationArray0 = contextA.getUniformLocation(programS, "u_array[0]");
66 shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.uniform1i(locationS x, 3)"); 66 shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.uniform1i(locationS x, 3)");
67 shouldBe("contextA.getUniform(programS, locationSx)", "3"); 67 shouldBe("contextA.getUniform(programS, locationSx)", "3");
68 </script> 68 </script>
69 69
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698