Problem making local copy of a webpage

Posted by Claudiu on Stack Overflow See other posts from Stack Overflow or by Claudiu
Published on 2010-05-23T21:52:12Z Indexed on 2010/05/23 22:11 UTC
Read the original article Hit count: 380

Filed under:
|
|
|
|

I want to run this chrome experiment locally. I copied the .html and .js files, along with the two .jpgs 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.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html