Hittest and cross-origin problem


(swagner) #1

Continuing the discussion from Get alpha data detection works on desktop, offsets in hype reflect:


(swagner) #2

I would like to understand this error on mobile testing ? “SecurityError: Failed to execute ‘getImageData’ on ‘CanvasRenderingContext2D’: The canvas has been tainted by cross-origin data.”


#3

Sounds like you’re trying to use Canvas to place an image from an unapproved domain into you document. Can you make sure all your images are hosted on the same server?