WebGLRenderingContext::getUniformLocation should return null for invalid uniforms. Currently it will return a WebGLUniformLocation object wrapping the number -1, which is poor behavior. As a corollary, the WebGL specification should be updated to state this behavior explicitly.
Created attachment 49977 [details] Proposed patch
Comment on attachment 49977 [details] Proposed patch Clearing flags on attachment: 49977 Committed r55514: <http://trac.webkit.org/changeset/55514>
All reviewed patches have been landed. Closing bug.
WebGL spec updated accordingly in rev 10594