title: DOM IDBDatabase Exception 5 when adding data in indexedDB
body: <p>My object structure is like this:</p>
  
  <pre><code>var test={
          "id":"A",
          "ChanName":"Discovery",
          "LCN":10
          };
  </code></pre>
  
  <p>This is the snippet that creates the object store:</p>
  
  <pre><code>var objectStore = db.createObjectStore('Dat', { keyPath:'test.id',autoIncrement: false});
  
  var trans = db.transaction(["Dat"], webkitIDBTransaction.READ_WRITE);
           var store = trans.objectStore("Dat");
           var request=store.put(test);
  </code></pre>
  
  <p>When i try to add the test object i get this exception DATA_ERR: DOM IDBDatabase Exception 5. Please can you advice on what is wrong here? I am using chrome 18 to test this.The creation of object store is fine,but not able to add data </p>