title: Canvas CORS security error in Safari only
body: <p>How can i set dataURL format('"data:image/svg+xml;base64,"' ) svg to img.src in safari?(It's OK in chrome.).</p>
  
  <p>Safari will throw securityError.
  Any method to make the dataURL's domain right?</p>
  
  <pre><code>var img = new Image();
  img.onload = myLoader;
  img.crossOrigin = 'anonymous';       
  img.src = "data:image/svg+xml;base64,...............";
  var canvas = document.createElement('CANVAS');
  var context = canvas.getContext('2d');
  context.drawImage(img, 0, 0);
  console.log(canvas.toDataURL());
  </code></pre>