Changeset 57106 in webkit
- Timestamp:
- Apr 5, 2010 5:18:33 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r57105 r57106 1 2010-04-05 Zhenyao Mo <zmo@google.com> 2 3 Reviewed by Darin Adler. 4 5 A few tests in fast/canvas/webgl/ failed on Leopard Release Bot randomly. 6 https://bugs.webkit.org/show_bug.cgi?id=37077 7 https://bugs.webkit.org/show_bug.cgi?id=37098 8 9 * fast/canvas/webgl/drawArraysOutOfBounds-expected.txt: Gathering more information about framebuffer status when failure happens. 10 * fast/canvas/webgl/drawArraysOutOfBounds.html: Ditto. 11 * fast/canvas/webgl/drawElementssOutOfBounds-expected.txt: Ditto. 12 * fast/canvas/webgl/drawElementssOutOfBounds.html: Ditto. 13 * fast/canvas/webgl/index-validation-copies-indices-expected.txt: Ditto. 14 * fast/canvas/webgl/index-validation-copies-indices.html: Ditto. 15 1 16 2010-04-05 Yuta Kitamura <yutak@chromium.org> 2 17 -
trunk/LayoutTests/fast/canvas/webgl/drawArraysOutOfBounds-expected.txt
r51970 r57106 14 14 15 15 Test buffer with 3 float vectors 16 PASS context.checkFramebufferStatus(context.FRAMEBUFFER) is context.FRAMEBUFFER_COMPLETE 16 17 PASS context.drawArrays(context.TRIANGLES, 0, 3) is undefined 17 18 PASS context.drawArrays(context.TRIANGLES, 3, 2) threw exception GL error 1282 in drawArrays. -
trunk/LayoutTests/fast/canvas/webgl/drawArraysOutOfBounds.html
r51970 r57106 36 36 context.bufferData(context.ARRAY_BUFFER, new WebGLFloatArray([ 0,0.5,0, -0.5,-0.5,0, 0.5,-0.5,0 ]), context.STATIC_DRAW); 37 37 context.vertexAttribPointer(0, 3, context.FLOAT, false, 0, 0); 38 shouldBe("context.checkFramebufferStatus(context.FRAMEBUFFER)", "context.FRAMEBUFFER_COMPLETE"); 38 39 shouldBe("context.drawArrays(context.TRIANGLES, 0, 3)", "undefined"); 39 40 shouldThrow("context.drawArrays(context.TRIANGLES, 3, 2)"); -
trunk/LayoutTests/fast/canvas/webgl/drawElementssOutOfBounds-expected.txt
r51970 r57106 13 13 14 14 Test buffer with 3 byte indexes 15 PASS context.checkFramebufferStatus(context.FRAMEBUFFER) is context.FRAMEBUFFER_COMPLETE 15 16 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) is undefined 16 17 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 2) threw exception GL error 1282 in drawElements. -
trunk/LayoutTests/fast/canvas/webgl/drawElementssOutOfBounds.html
r51970 r57106 39 39 context.bindBuffer(context.ELEMENT_ARRAY_BUFFER, indexObject); 40 40 context.bufferData(context.ELEMENT_ARRAY_BUFFER, new WebGLUnsignedByteArray([ 0, 1, 2 ]), context.STATIC_DRAW); 41 shouldBe("context.checkFramebufferStatus(context.FRAMEBUFFER)", "context.FRAMEBUFFER_COMPLETE"); 41 42 shouldBe("context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0)", "undefined"); 42 43 shouldThrow("context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 2)"); -
trunk/LayoutTests/fast/canvas/webgl/index-validation-copies-indices-expected.txt
r52700 r57106 4 4 5 5 Regression test for https://bugs.webkit.org/show_bug.cgi?id=32748 : Index validation code must always copy client data 6 PASS context.checkFramebufferStatus(context.FRAMEBUFFER) is context.FRAMEBUFFER_COMPLETE 6 7 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2) is undefined. 7 8 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0) threw exception GL error 1282 in drawElements. 8 9 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 4) threw exception GL error 1282 in drawElements. 10 PASS context.checkFramebufferStatus(context.FRAMEBUFFER) is context.FRAMEBUFFER_COMPLETE 9 11 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2) is undefined. 10 12 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0) threw exception GL error 1282 in drawElements. -
trunk/LayoutTests/fast/canvas/webgl/index-validation-copies-indices.html
r52700 r57106 30 30 var indices = new WebGLUnsignedShortArray([ 10000, 0, 1, 2, 3, 10000 ]); 31 31 context.bufferData(context.ELEMENT_ARRAY_BUFFER, indices, context.STATIC_DRAW); 32 shouldBe('context.checkFramebufferStatus(context.FRAMEBUFFER)', 'context.FRAMEBUFFER_COMPLETE'); 32 33 shouldBeUndefined("context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2)"); 33 34 shouldThrow("context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0)"); … … 35 36 indices[0] = 2; 36 37 indices[5] = 1; 38 shouldBe("context.checkFramebufferStatus(context.FRAMEBUFFER)", "context.FRAMEBUFFER_COMPLETE"); 37 39 shouldBeUndefined("context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2)"); 38 40 shouldThrow("context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0)");
Note: See TracChangeset
for help on using the changeset viewer.