WebGL specification states that zNear should not be greater than zFar when calling depthRange. Attached patch modifies GraphicsContext3DOpenGL to synthesize INVALID_VALUE as per spec.
CC Chris for comments
Created attachment 106397 [details] check for DepthRange
sorry for the noise :/ now I see WebGLRenderingContext has the appropriate checks.
Comment on attachment 106397 [details] check for DepthRange Cleared review? from attachment 106397 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).