indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB; | |
indexedDB.deleteDatabase(dbname) | |
indexedDB.open(dbname) | |
Upgrade needed: Old version - 0 New version - 1 | |
[object IDBTransaction] - versionchange | |
[object IDBDatabase] | |
put succeeded - key was 'foo' | |
get succeeded - value was 'bar' | |
version change transaction completed | |
PASS successfullyParsed is true | |
TEST COMPLETE | |