| OLD | NEW |
| 1 Test IndexedDB's objectStoreNames array | 1 Test IndexedDB's objectStoreNames array |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 dbname = "objectstorenames.html" | 6 dbname = "objectstorenames.html" |
| 7 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 8 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
| 9 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'id', autoIncreme
nt: true }); | 9 objectStore = db.createObjectStore(objectStoreName, { keyPath: 'id', autoIncreme
nt: true }); |
| 10 PASS 'objectStoreNames' in db is true | 10 PASS 'objectStoreNames' in db is true |
| 11 PASS db.objectStoreNames.length is 1 | 11 PASS db.objectStoreNames.length is 1 |
| 12 PASS db.objectStoreNames.item(0) is objectStoreName | 12 PASS db.objectStoreNames[0] is objectStoreName |
| 13 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
| 14 | 14 |
| 15 TEST COMPLETE | 15 TEST COMPLETE |
| 16 | 16 |
| OLD | NEW |