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

Side by Side Diff: LayoutTests/fast/canvas/webgl/tex-sub-image-2d-bad-args.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 <script src="resources/webgl-test-utils.js"></script> 5 <script src="resources/webgl-test-utils.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <canvas id="testbed" width="16" height="16"></canvas> 8 <canvas id="testbed" width="16" height="16"></canvas>
9 <canvas id="c" width="16" height="16"></canvas> 9 <canvas id="c" width="16" height="16"></canvas>
10 <div id="description"></div> 10 <div id="description"></div>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 glErrorShouldBe(gl, gl.INVALID_OPERATION, "type not same as original RGB"); 57 glErrorShouldBe(gl, gl.INVALID_OPERATION, "type not same as original RGB");
58 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_SHORT_4_4_4_4, c); 58 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_SHORT_4_4_4_4, c);
59 glErrorShouldBe(gl, gl.NO_ERROR, "make texture RGBA 4_4_4_4"); 59 glErrorShouldBe(gl, gl.NO_ERROR, "make texture RGBA 4_4_4_4");
60 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0,0, gl.RGBA, gl.UNSIGNED_SHORT_4_4_4_4, c); 60 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0,0, gl.RGBA, gl.UNSIGNED_SHORT_4_4_4_4, c);
61 glErrorShouldBe(gl, gl.NO_ERROR, "format same as original RGBA 4_4_4_4"); 61 glErrorShouldBe(gl, gl.NO_ERROR, "format same as original RGBA 4_4_4_4");
62 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0,0, gl.RGB, gl.UNSIGNED_BYTE, c); 62 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0,0, gl.RGB, gl.UNSIGNED_BYTE, c);
63 glErrorShouldBe(gl, gl.INVALID_OPERATION, "format not same as original RGBA 4_4_ 4_4"); 63 glErrorShouldBe(gl, gl.INVALID_OPERATION, "format not same as original RGBA 4_4_ 4_4");
64 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0,0, gl.RGBA, gl.UNSIGNED_BYTE, c); 64 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0,0, gl.RGBA, gl.UNSIGNED_BYTE, c);
65 glErrorShouldBe(gl, gl.INVALID_OPERATION, "type not same as original RGBA 4_4_4_ 4"); 65 glErrorShouldBe(gl, gl.INVALID_OPERATION, "type not same as original RGBA 4_4_4_ 4");
66 </script> 66 </script>
67 <script src="../../js/resources/js-test-post.js"></script>
68 </body> 67 </body>
69 </html> 68 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/tex-sub-image-2d.html ('k') | LayoutTests/fast/canvas/webgl/tex-sub-image-cube-maps.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698