This is failing, but only on older hardware (such as the test bots). Checking drawingBufferWidth/drawingBufferHeight PASS gl.drawingBufferWidth is gl.canvas.width PASS gl.drawingBufferHeight is gl.canvas.height PASS maxSize[0] > 0 is true PASS maxSize[1] > 0 is true MAX_VIEWPORT_DIMS = 16384x16384 canvas = 50x50 PASS gl.drawingBufferWidth > 0 is true PASS gl.drawingBufferHeight > 0 is true PASS gl.drawingBufferWidth <= maxSize[0] is true PASS gl.drawingBufferHeight <= maxSize[1] is true FAIL gl.getError() should be 0. Was 1286. Where 1286 is INVALID_FRAMEBUFFER_OPERATION I assume that trying to allocate such a huge backing store is sort-of working, but not really. I haven't been able to reproduce on newer hardware yet.
<rdar://problem/35042291>
Was "webgl/1.0.2/conformance/canvas/drawingbuffer-static-canvas-test.html failing"
Created attachment 324176 [details] Patch
Committed r223640: <https://trac.webkit.org/changeset/223640>