title: What can I use with Web Workers?
body: <p>I have a few questions about web workers </p>
  
  <ul>
  <li><p><strong>Does the worker have access to storage?</strong> E.g. indexedDB/webSQL and local storage of the file the worker was initiated from?</p></li>
  <li><p><strong>How can i include a file in a worker?</strong> I have a <code>functions.js</code> which has alot of quick app related functions and it really wont make sense to copy paste the file's contents in a worker only to have two different places up update my functions.</p></li>
  <li><p><strong>Can I have a DOM inside a worker?</strong> like load an audio file in a temp audio tag to read its duration and if it is playable or not. Not access dom of parent page, but have a DOM in the worker itself.</p></li>
  <li><p>If the answers to any of the question is negative then how can/should it be done manually?</p></li>
  </ul>
  
  <p>This is for a chrome app so I have access to the latest Chrome APIs and I don't need to care about backward compatibility.</p>