title: How can I remove a whole IndexedDB database from JavaScript?
body: <p>How can one remove a whole IndexedDB database from JavaScript, as opposed to just an object store? I'm using the <a href="http://nparashuram.com/IndexedDBShim/">IndexedDB shim</a>, which may use WebSQL as its backend.</p>
  
  <p>I'd mainly like to know how to do this for the PhantomJS (headless) browser, although Chrome, Safari (on iPad) and IE10 are other important browsers.</p>