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

Side by Side Diff: LayoutTests/fast/canvas/webgl/index-validation-verifies-too-many-indices.html

Issue 48903019: Delete js-test-post.js. (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="../../js/resources/js-test-pre.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>
(...skipping 18 matching lines...) Expand all
29 debug("Test out of range indices") 29 debug("Test out of range indices")
30 context.bindBuffer(context.ELEMENT_ARRAY_BUFFER, indexObject); 30 context.bindBuffer(context.ELEMENT_ARRAY_BUFFER, indexObject);
31 context.bufferData(context.ELEMENT_ARRAY_BUFFER, new Uint16Array([ 10000, 0, 1, 2, 3, 10000 ]), context.STATIC_DRAW); 31 context.bufferData(context.ELEMENT_ARRAY_BUFFER, new Uint16Array([ 10000, 0, 1, 2, 3, 10000 ]), context.STATIC_DRAW);
32 shouldGenerateGLError(context, context.NO_ERROR, "context.drawElements(context.T RIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2)"); 32 shouldGenerateGLError(context, context.NO_ERROR, "context.drawElements(context.T RIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2)");
33 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.drawElements( context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0)"); 33 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.drawElements( context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0)");
34 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.drawElements( context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 4)"); 34 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.drawElements( context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 4)");
35 35
36 debug("") 36 debug("")
37 </script> 37 </script>
38 38
39 <script src="../../js/resources/js-test-post.js"></script>
40 </body> 39 </body>
41 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698