| OLD | NEW |
| 1 CONSOLE WARNING: 'DOMStringList.contains()' is deprecated, and will be removed. |
| 1 Test IndexedDB's IDBObjectStore.clear(). | 2 Test IndexedDB's IDBObjectStore.clear(). |
| 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-clear.html" | 7 dbname = "objectstore-clear.html" |
| 7 indexedDB.deleteDatabase(dbname) | 8 indexedDB.deleteDatabase(dbname) |
| 8 indexedDB.open(dbname) | 9 indexedDB.open(dbname) |
| 9 store = db.createObjectStore('storeName', null) | 10 store = db.createObjectStore('storeName', null) |
| 10 store.createIndex('indexName', '') | 11 store.createIndex('indexName', '') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 openKeyCursorSuccess(): | 22 openKeyCursorSuccess(): |
| 22 PASS event.target.result is null | 23 PASS event.target.result is null |
| 23 db.transaction(['otherStoreName']) | 24 db.transaction(['otherStoreName']) |
| 24 otherStore = transaction.objectStore('otherStoreName') | 25 otherStore = transaction.objectStore('otherStoreName') |
| 25 otherStore.get('key') | 26 otherStore.get('key') |
| 26 PASS event.target.result is "value" | 27 PASS event.target.result is "value" |
| 27 PASS successfullyParsed is true | 28 PASS successfullyParsed is true |
| 28 | 29 |
| 29 TEST COMPLETE | 30 TEST COMPLETE |
| 30 | 31 |
| OLD | NEW |