I want to run this chrome experiment locally. I copied the .html
and .js
files, along with the two .jpg
s that the demo uses. However, when I run it off my local drive, Chrome gives this error:
light.js:89 - Uncaught Error: SECURITY_ERR: DOM Exception 18
Line 89 returns the image data from the canvas after drawing the image to it. What's causing this security exception? It seems to not be Chrome-specific, as Firefox gives the same error.