Per your other pull request, WebGLTestUtils.checkCanvasRect does exactly this comparison. Could you please restructure this test to use that comparison function?