Currently the WebGLArray case of these calls does not ensure that the buffer is big enough for the modes passed.
These bounds checks were necessarily added as part of https://bugs.webkit.org/show_bug.cgi?id=40398 . Closing as a duplicate of that bug. *** This bug has been marked as a duplicate of bug 40398 ***