title: Access IndexedDB from Web Workers
body: <p>I can not seem to figure out HOW to use <code>indexedDB</code> inside web worker. I've tried a lot of different ways, but <code>indexedDB</code> is always <code>"undefined"</code> in worker scope. I thought it was supposed to be accessible via <code>indexedDB</code> or <code>self.indexedDB</code>???</p>
  
  <pre><code>self.indexedDB = self.indexedDB || self.msIndexedDB || self.mozIndexedDB || self.webkitIndexedDB || self.OIndexedDB;
  
  indexedDB = indexedDB || msIndexedDB || mozIndexedDB || webkitIndexedDB || OIndexedDB;
  </code></pre>
  
  <p>all are <code>undefined</code> ... i even iterated through the properties of the self object, and there was no <code>indexedDB</code> property or method. fwiw, i'm using ff 18, AND, ff nightly (21a), and i tried it with chrome.</p>