In my application, I am trying to convert an image to canvas. What I do is this.
I am trying to download an image from an external server, and when this thing is done, if the image is larger than its width, I draw it on the canvas and rotate it.
It works fine in Chrome and FF, but in Safari I get this error
SECURITY_ERR: DOM Exception 18: An attempt was made to break through the user agent security policy.
I don’t understand what it is. Can someone tell me about this?
source
share