I am working on a project that uses a web worker.
In my head section I have this code:
var worker = new Worker("worker.js");
// More code
Uncaught SecurityError: Failed to create a worker: script at '(path)/worker.js' cannot be accessed from origin 'null'.
For good reasons, Chrome doesn't let you load web workers when running scripts from a local file. Note: Firefox won't work either. Try Safari. :)