Since canvas.toDataURL can throw a Security error if the canvas was tainted with an image that was loaded from a different origin, the export will fail completely in the case such images exist. We should try/catch that case and continue the export.
Missing images are better than no output at all most of the time.
Since canvas.toDataURL can throw a Security error if the canvas was tainted with an image that was loaded from a different origin, the export will fail completely in the case such images exist. We should try/catch that case and continue the export. Missing images are better than no output at all most of the time.