Hittest and cross-origin problem

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

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.”

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?