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

Side by Side Diff: LayoutTests/fast/canvas/webgl/index-validation.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 <script src="resources/webgl-test.js"></script> 6 <script src="resources/webgl-test.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id="description"></div> 9 <div id="description"></div>
10 <div id="console"></div> 10 <div id="console"></div>
11 11
12 <script> 12 <script>
13 description("Tests that index validation verifies the correct number of indices" ); 13 description("Tests that index validation verifies the correct number of indices" );
14 14
15 if (window.internals) 15 if (window.internals)
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 debug("Pass large negative index to vertexAttribPointer"); 104 debug("Pass large negative index to vertexAttribPointer");
105 gl.vertexAttribPointer(normalLoc, 3, gl.FLOAT, false, 7 * sizeInBytes(gl.FLOAT), -2000000000 * sizeInBytes(gl.FLOAT)); 105 gl.vertexAttribPointer(normalLoc, 3, gl.FLOAT, false, 7 * sizeInBytes(gl.FLOAT), -2000000000 * sizeInBytes(gl.FLOAT));
106 glErrorShouldBe(gl, gl.INVALID_VALUE); 106 glErrorShouldBe(gl, gl.INVALID_VALUE);
107 shouldBeUndefined('gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0)'); 107 shouldBeUndefined('gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0)');
108 108
109 successfullyParsed = true; 109 successfullyParsed = true;
110 </script> 110 </script>
111 111
112 </body> 112 </body>
113 </html> 113 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698