facebook/IndexedDB-polyfill — pull request #5 by firien (2013-08-01 20:43:14+00:00)
Title: bad keyPath for indices created from WebSQL data

Indices generated from WebSQL data have unparsed JSON for keyPath.

If the index was created via `IDBObjectStore.createIndex`, then it is fine. However once the page is reloaded and the index is recreated via `IDBDatabase._loadObjectStores` then it has the wrong keyPath. No error is reported, but the index is never updated for new and updated records.