JPEG Quality test

Hi,

I recently stumbled across the test suite while trying to solve a few
problems I'm having with Chrome and Firefox toDataUrl implementation
with image/jpeg encoding.

In most of the tests regarding canvas jpeg encoding, the test will
automatically pass if the browser doesn't support. If there a reason
for this? Seems to me that it makes more sense to fail the browser on
the jpeg specifics if it doesn't support jpeg and instead passing it
on the toDataURL.unrecognized if it successfully falls back to png.

Best regards,
Jakob

Received on Sunday, 28 November 2010 22:00:22 UTC