'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported
问题 In Chrome I get the following error on jsfiddle when trying to test canvas drawing images from a remote url. Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. On S3 bucket I have the following CORS policy, which allows for cross resource sharing: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> </CORSRule> <