title: can Chrome option page access indexedDB created by my background script?
body: <p>I am working on a chrome extension, and really want to have my chrome option page access the data in the IndexedDB, but there seems no support for this? </p>
  
  <p>Error as: </p>
  
  <p>Uncaught TypeError: Cannot read property 'transaction' of undefined option.js:42</p>
  
  <pre><code>     var request = indexedDB.open(DB_NAME, DB_VERSION);
      //console.log(request); /* The created indexedDB can be checked */
  
      request.onsuccess = function (evt) {
          console.log("Database Open Successfully: " + evt);
          db = this.result;
  
          /* Get the initialised logIndex*/
          var storeLog = db.transaction(DB_STORE1, 'readonly').objectStore(DB_STORE1); 
          var req = storeLog.openCursor(null, 'prev');
  
          req.onsuccess = function (evt) {
               console.log("Inner Successfully");
          }
          req.onerror = function(evt){
               console.error("Inner error" + evt.target.errorCode);
          }
      };
  
      request.onerror = function (evt) {
          console.error("Database Error: " + evt.target.errorCode);
      };
  </code></pre>
  
  <p>want to know whether it is possible to access the IndexedDB in the "chrome option_page"</p>