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

Side by Side Diff: LayoutTests/fast/canvas/webgl/canvas-zero-size.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>Zero Size Canvas Test</title> 5 <title>Zero Size Canvas Test</title>
6 <script src="../../js/resources/js-test-pre.js"></script> 6 <script src="../../js/resources/js-test-pre.js"></script>
7 <script src="resources/webgl-test.js"> </script> 7 <script src="resources/webgl-test.js"> </script>
8 <script src="resources/webgl-test-utils.js"> </script> 8 <script src="resources/webgl-test-utils.js"> </script>
9 </head> 9 </head>
10 <body> 10 <body>
(...skipping 11 matching lines...) Expand all
22 shouldBeTrue("program != null"); 22 shouldBeTrue("program != null");
23 var tex = gl.createTexture(); 23 var tex = gl.createTexture();
24 gl.bindTexture(gl.TEXTURE_2D, tex); 24 gl.bindTexture(gl.TEXTURE_2D, tex);
25 var pixel = new Uint8Array([0, 255, 0, 255]); 25 var pixel = new Uint8Array([0, 255, 0, 255]);
26 gl.texImage2D( 26 gl.texImage2D(
27 gl.TEXTURE_2D, 0, gl.RGBA, 1, 1, 0, gl.RGBA, gl.UNSIGNED_BYTE, pixel); 27 gl.TEXTURE_2D, 0, gl.RGBA, 1, 1, 0, gl.RGBA, gl.UNSIGNED_BYTE, pixel);
28 wtu.drawQuad(gl); 28 wtu.drawQuad(gl);
29 29
30 glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors from setup."); 30 glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors from setup.");
31 </script> 31 </script>
32 <script src="../../js/resources/js-test-post.js"></script>
33 32
34 </body> 33 </body>
35 </html> 34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/canvas-resize-crash.html ('k') | LayoutTests/fast/canvas/webgl/compressed-tex-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698