title: DOMException at the time of opendatabase with higher version
body: <p>I want to create <strong>multiple datastore</strong>, So I found solution that I can do this on <strong>version change.</strong> </p>
  
  <p>So I wrote following </p>
  
  <pre><code>var request = indexedDB.open(dbName);
      request.onsuccess = function (e){
          var db = e.target.result;
          var version = db.version;
          db.close();
  
          var request2 = indexedDB.open(dbName , ++version);
          console.log(request2);   //Error on this line
  
          request2.onsuccess = function() { console.log("success .. "); };
          request2.onerror = function() { console.log("error..."); };
          request2.onblocked = function() { console.log("blocked..."); };
          request2.onupgradeneeded = function(e2) { 
              //Will creaate new datastore here
          };
      }
  </code></pre>
  
  <hr>
  
  <p>when I open database with higher version it is giving following error "<strong>error: [Exception: DOMException]</strong>"</p>
  
  <pre><code>DBOpenDBRequest {onupgradeneeded: null, onblocked: null, onerror: null, onsuccess: null, readyState: "pending"…}
    error: [Exception: DOMException]
    onblocked: function () { console.log("blocked..."); }
    onerror: function () { console.log("error..."); }
    onsuccess: function () { console.log("success .. "); }
    onupgradeneeded: function (e2) {
    readyState: "pending"
    result: [Exception: DOMException]
    source: null
    transaction: null
   __proto__: IDBOpenDBRequest
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/JEKHG.png" alt="enter image description here"></p>
  
  <p>Thanks in advance.</p>