title: Web worker settings for chrome
body: <p>I have made a website which works on Firefox but not on GoogleChrome. 
  The website uses a web worker and i get the common error message:</p>
  
  <pre><code> "Uncaught SecurityError: Failed to create a worker: script at
      'file:///home/useraccount/School/MasterThesis/Code/physijs_worker.js' 
    cannot be accessed from origin 'null'."
  </code></pre>
  
  <p>I have read about this, and it is very well explained at the end of this tutorial (<a href="http://www.html5rocks.com/en/tutorials/workers/basics/">http://www.html5rocks.com/en/tutorials/workers/basics/</a>), in the A word on Security section.  </p>
  
  <p>This is my google-chrome version:</p>
  
  <pre><code>Google Chrome   32.0.1700.107 (Official Build 248368) 
  
  OS  Linux 
  
  Blink   537.36 (@165586)
  
  JavaScript  V8 3.22.24.17
  
  User Agent  Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
  
  Command Line     /usr/bin/google-chrome 
    --allow-access-from-files --flag-switches-begin 
    --ignore-gpu-blacklist --flag-switches-end
  </code></pre>
  
  <p>Here we can see that the --allow-access-from-files flag truly are set.
  I am running it on my UBUNTU 13.10.</p>
  
  <p>I have also checked that the URL link  are complete, as many forums suggests.</p>
  
  <p>There website are using Three.js and Physi.js. </p>
  
  <p>It would be nice with some suggestions, on what the problem can be. </p>