RESOLVED FIXED 51726
drawElements should raise INVALID_OPERATION if offset is not a multiple of the type size
https://bugs.webkit.org/show_bug.cgi?id=51726
Summary drawElements should raise INVALID_OPERATION if offset is not a multiple of th...
Zhenyao Mo
Reported 2010-12-29 14:59:30 PST
See WebGL spec section 6.3
Attachments
Patch (2.83 KB, patch)
2010-12-29 15:31 PST, Zhenyao Mo
no flags
Zhenyao Mo
Comment 1 2010-12-29 15:23:28 PST
After re-examine the code, it seems that this is already taken care of in WebGLRenderingContext::validateElementArraySize. However, we don't have tests covering this behavior. I'll add test cases.
Zhenyao Mo
Comment 2 2010-12-29 15:31:20 PST
Eric Seidel (no email)
Comment 3 2010-12-29 18:38:03 PST
Comment on attachment 77648 [details] Patch I like test cases. :)
WebKit Commit Bot
Comment 4 2010-12-29 19:55:04 PST
Comment on attachment 77648 [details] Patch Clearing flags on attachment: 77648 Committed r74777: <http://trac.webkit.org/changeset/74777>
WebKit Commit Bot
Comment 5 2010-12-29 19:55:10 PST
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 6 2010-12-29 20:54:06 PST
http://trac.webkit.org/changeset/74777 might have broken GTK Linux 64-bit Debug The following tests are not passing: editing/selection/extend-by-character-005.html
Note You need to log in before you can comment on or make changes to this bug.