it will accept any non-FRAGMENT_SHADER value as GL_VERTEX_SHADER
Created attachment 43779 [details] Patch including test
Comment on attachment 43779 [details] Patch including test Looks good, but maybe NOT_SUPPORTED_ERR would be better?
We need to revisit the whole exception model of WebGL. For now we have been using SYNTAX_ERR for bad params, so I'll leave it at that for now.
Landed in http://trac.webkit.org/changeset/51370