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

Side by Side Diff: LayoutTests/fast/canvas/webgl/draw-elements-out-of-bounds-expected.txt

Issue 6486014: Merge 77956 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months 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
OLDNEW
1 Test of drawElements with out-of-bounds parameters 1 Test of drawElements with out-of-bounds parameters
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 Test empty index buffer 5 Test empty index buffer
6 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) genera ted expected GL error: INVALID_OPERATION. 6 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) genera ted expected GL error: INVALID_OPERATION.
7 PASS context.drawElements(context.TRIANGLES, 10000, context.UNSIGNED_BYTE, 0) ge nerated expected GL error: INVALID_OPERATION. 7 PASS context.drawElements(context.TRIANGLES, 10000, context.UNSIGNED_BYTE, 0) ge nerated expected GL error: INVALID_OPERATION.
8 PASS context.drawElements(context.TRIANGLES, 10000000000000, context.UNSIGNED_BY TE, 0) generated expected GL error: INVALID_OPERATION. 8 PASS context.drawElements(context.TRIANGLES, 10000000000000, context.UNSIGNED_BY TE, 0) generated expected GL error: INVALID_OPERATION.
9 PASS context.drawElements(context.TRIANGLES, -1, context.UNSIGNED_BYTE, 0) gener ated expected GL error: INVALID_VALUE. 9 PASS context.drawElements(context.TRIANGLES, -1, context.UNSIGNED_BYTE, 0) gener ated expected GL error: INVALID_VALUE.
10 PASS context.drawElements(context.TRIANGLES, 1, context.UNSIGNED_BYTE, 0) genera ted expected GL error: INVALID_OPERATION. 10 PASS context.drawElements(context.TRIANGLES, 1, context.UNSIGNED_BYTE, 0) genera ted expected GL error: INVALID_OPERATION.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 PASS context.drawElements(context.TRIANGLES, 12, context.UNSIGNED_SHORT, 0) gene rated expected GL error: INVALID_OPERATION. 45 PASS context.drawElements(context.TRIANGLES, 12, context.UNSIGNED_SHORT, 0) gene rated expected GL error: INVALID_OPERATION.
46 PASS context.drawElements(context.TRIANGLES, 15, context.UNSIGNED_SHORT, 0) gene rated expected GL error: INVALID_OPERATION. 46 PASS context.drawElements(context.TRIANGLES, 15, context.UNSIGNED_SHORT, 0) gene rated expected GL error: INVALID_OPERATION.
47 PASS context.drawElements(context.TRIANGLES, 18, context.UNSIGNED_SHORT, 0) gene rated expected GL error: INVALID_OPERATION. 47 PASS context.drawElements(context.TRIANGLES, 18, context.UNSIGNED_SHORT, 0) gene rated expected GL error: INVALID_OPERATION.
48 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_SHORT, 2*15) ge nerated expected GL error: INVALID_OPERATION. 48 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_SHORT, 2*15) ge nerated expected GL error: INVALID_OPERATION.
49 PASS context.drawElements(context.TRIANGLES, 0xffffffff, context.UNSIGNED_SHORT, 0) generated expected GL error: INVALID_VALUE. 49 PASS context.drawElements(context.TRIANGLES, 0xffffffff, context.UNSIGNED_SHORT, 0) generated expected GL error: INVALID_VALUE.
50 PASS context.drawElements(context.TRIANGLES, 0x7fffffff, context.UNSIGNED_SHORT, 0) generated expected GL error: INVALID_OPERATION. 50 PASS context.drawElements(context.TRIANGLES, 0x7fffffff, context.UNSIGNED_SHORT, 0) generated expected GL error: INVALID_OPERATION.
51 PASS context.drawElements(context.TRIANGLES, 0, context.UNSIGNED_SHORT, 0) gener ated expected GL error: NO_ERROR. 51 PASS context.drawElements(context.TRIANGLES, 0, context.UNSIGNED_SHORT, 0) gener ated expected GL error: NO_ERROR.
52 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener ated expected GL error: NO_ERROR. 52 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener ated expected GL error: NO_ERROR.
53 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 1) gener ated expected GL error: INVALID_OPERATION. 53 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 1) gener ated expected GL error: INVALID_OPERATION.
54 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 2) gener ated expected GL error: NO_ERROR. 54 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 2) gener ated expected GL error: NO_ERROR.
55 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener ated expected GL error: INVALID_OPERATION.
55 56
56 PASS successfullyParsed is true 57 PASS successfullyParsed is true
57 58
58 TEST COMPLETE 59 TEST COMPLETE
59 60
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/draw-elements-out-of-bounds.html ('k') | Source/WebCore/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698