Test for bug 69681, canvas.toDataURL("image/jpeg") should not crash.