title: Delete all indexedDB
body: <p>I need to delete all my IndexedDB, currently I have:</p>
  
  <pre><code>const indexedDB = window.indexedDB || window.mozIndexedDB
    || window.webkitIndexedDB || window.msIndexedDB;
  if (indexedDB.webkitGetDatabaseNames) {
    const bases = indexedDB.webkitGetDatabaseNames();
    bases.onsuccess = (event) =&gt; {
      const data = event.target.result;
      Object.values(data).forEach((db) =&gt; {
        indexedDB.deleteDatabase(db);
      });
      resolve();
    };
    bases.onerror = reject;
  }
  </code></pre>
  
  <p>But the <code>webkitGetDatabaseNames()</code> function is undefined.
  Is it possible delete all IndexedDB without use this method?</p>
  
  <p>PD: I want to delete without knowing the names of IndexedDB and I need to delete from code (Javascript)</p>