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

Side by Side Diff: LayoutTests/fast/canvas/webgl/uniform-location-length-limits.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>WebGL uniform location length tests</title> 5 <title>WebGL uniform location length tests</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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 debug("Test uniform location over the length limit"); 97 debug("Test uniform location over the length limit");
98 program = wtu.loadProgramFromScript(gl, "badVertexShader", "fragmentShader"); 98 program = wtu.loadProgramFromScript(gl, "badVertexShader", "fragmentShader");
99 wtu.glErrorShouldBe(gl, gl.NONE); 99 wtu.glErrorShouldBe(gl, gl.NONE);
100 shouldBe('gl.getProgramParameter(program, gl.LINK_STATUS)', 'true'); 100 shouldBe('gl.getProgramParameter(program, gl.LINK_STATUS)', 'true');
101 var uniformLoc = gl.getUniformLocation(program, "identifier128CharactersLong_012 34567890123456789012345678901234567890123456789012345678901234567890123456789012 34567890123456789.identifier64CharactersLong_01234567890123456789012345678901234 56.identifier63CharactersLong_012345678901234567890123456789012345"); 101 var uniformLoc = gl.getUniformLocation(program, "identifier128CharactersLong_012 34567890123456789012345678901234567890123456789012345678901234567890123456789012 34567890123456789.identifier64CharactersLong_01234567890123456789012345678901234 56.identifier63CharactersLong_012345678901234567890123456789012345");
102 wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); 102 wtu.glErrorShouldBe(gl, gl.INVALID_VALUE);
103 shouldBeNull('uniformLoc'); 103 shouldBeNull('uniformLoc');
104 104
105 </script> 105 </script>
106 <script src="../../js/resources/js-test-post.js"></script>
107 </body> 106 </body>
108 </html> 107 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/uniform-location.html ('k') | LayoutTests/fast/canvas/webgl/uninitialized-test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698