| OLD | NEW |
| 1 Test IndexedDB database metadata mutation/snapshotting | 1 Test IndexedDB database metadata mutation/snapshotting |
| 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 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | |
| 7 | |
| 8 dbname = "metadata.html" | 6 dbname = "metadata.html" |
| 9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
| 11 connection1store1 = connection1.createObjectStore('store1') | 9 connection1store1 = connection1.createObjectStore('store1') |
| 12 connection1store1.createIndex('index1', 'path') | 10 connection1store1.createIndex('index1', 'path') |
| 13 PASS connection1.version is 1 | 11 PASS connection1.version is 1 |
| 14 PASS connection1.objectStoreNames.length is 1 | 12 PASS connection1.objectStoreNames.length is 1 |
| 15 PASS connection1store1.indexNames.length is 1 | 13 PASS connection1store1.indexNames.length is 1 |
| 16 Connection's properties should be snapshotted on close | 14 Connection's properties should be snapshotted on close |
| 17 connection1.close() | 15 connection1.close() |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 PASS connection3store1.indexNames.length is 2 | 69 PASS connection3store1.indexNames.length is 2 |
| 72 | 70 |
| 73 PASS connection4.version is 4 | 71 PASS connection4.version is 4 |
| 74 PASS connection4.objectStoreNames.length is 3 | 72 PASS connection4.objectStoreNames.length is 3 |
| 75 PASS connection4store1.indexNames.length is 3 | 73 PASS connection4store1.indexNames.length is 3 |
| 76 | 74 |
| 77 PASS successfullyParsed is true | 75 PASS successfullyParsed is true |
| 78 | 76 |
| 79 TEST COMPLETE | 77 TEST COMPLETE |
| 80 | 78 |
| OLD | NEW |