| OLD | NEW |
| 1 CONSOLE WARNING: 'DOMStringList.contains()' is deprecated, and will be removed. |
| 1 Test IndexedDB's IDBObjectStore auto-increment feature. | 2 Test IndexedDB's IDBObjectStore auto-increment feature. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 dbname = "objectstore-autoincrement.html" | 7 dbname = "objectstore-autoincrement.html" |
| 7 indexedDB.deleteDatabase(dbname) | 8 indexedDB.deleteDatabase(dbname) |
| 8 indexedDB.open(dbname) | 9 indexedDB.open(dbname) |
| 9 createObjectStore(): | 10 createObjectStore(): |
| 10 store = db.createObjectStore('StoreWithKeyPath', {keyPath: 'id', autoIncrement:
true}) | 11 store = db.createObjectStore('StoreWithKeyPath', {keyPath: 'id', autoIncrement:
true}) |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 PASS cursor.value.a.b.c.id is expected | 79 PASS cursor.value.a.b.c.id is expected |
| 79 expected = cursor.value.a.b.c.id + 1 | 80 expected = cursor.value.a.b.c.id + 1 |
| 80 PASS cursor.value.foo is "bar" | 81 PASS cursor.value.foo is "bar" |
| 81 PASS cursor.value.a.b.c.id is expected | 82 PASS cursor.value.a.b.c.id is expected |
| 82 expected = cursor.value.a.b.c.id + 1 | 83 expected = cursor.value.a.b.c.id + 1 |
| 83 PASS count is 4 | 84 PASS count is 4 |
| 84 PASS successfullyParsed is true | 85 PASS successfullyParsed is true |
| 85 | 86 |
| 86 TEST COMPLETE | 87 TEST COMPLETE |
| 87 | 88 |
| OLD | NEW |