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

Side by Side Diff: LayoutTests/fast/canvas/webgl/null-object-behaviour.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.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 <div id="description"></div> 8 <div id="description"></div>
9 <div id="console"></div> 9 <div id="console"></div>
10 10
11 <script> 11 <script>
12 var wtu = WebGLTestUtils; 12 var wtu = WebGLTestUtils;
13 description("Tests calling WebGL APIs without providing the necessary objects"); 13 description("Tests calling WebGL APIs without providing the necessary objects");
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 context.bindTexture(context.TEXTURE_2D, null); 70 context.bindTexture(context.TEXTURE_2D, null);
71 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.bufferData(co ntext.ARRAY_BUFFER, 1, context.STATIC_DRAW)"); 71 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.bufferData(co ntext.ARRAY_BUFFER, 1, context.STATIC_DRAW)");
72 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.getBufferPara meter(context.ARRAY_BUFFER, context.BUFFER_SIZE)"); 72 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.getBufferPara meter(context.ARRAY_BUFFER, context.BUFFER_SIZE)");
73 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.texImage2D(co ntext.TEXTURE_2D, 0, context.RGBA, 1, 1, 0, context.RGBA, context.UNSIGNED_BYTE, new Uint8Array([0,0,0,0]))"); 73 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.texImage2D(co ntext.TEXTURE_2D, 0, context.RGBA, 1, 1, 0, context.RGBA, context.UNSIGNED_BYTE, new Uint8Array([0,0,0,0]))");
74 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.texParameteri (context.TEXTURE_2D, context.TEXTURE_MIN_FILTER, context.NEAREST)"); 74 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.texParameteri (context.TEXTURE_2D, context.TEXTURE_MIN_FILTER, context.NEAREST)");
75 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.getTexParamet er(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER)"); 75 shouldGenerateGLError(context, context.INVALID_OPERATION, "context.getTexParamet er(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER)");
76 </script> 76 </script>
77 77
78 </body> 78 </body>
79 </html> 79 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/is-object.html ('k') | LayoutTests/fast/canvas/webgl/null-uniform-location.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698