According to the updated webgl spec
Created attachment 80462 [details]
I already updated the khronos side tests and synced here.
I just realized the spec hasn't been updated yet. Hope doing the fix before the spec update will be fine.
Comment on attachment 80462 [details]
Committed r76988: <http://trac.webkit.org/changeset/76988>