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 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
7 | 8 |
8 dbname = "objectstore-clear.html" | 9 dbname = "objectstore-clear.html" |
9 indexedDB.deleteDatabase(dbname) | 10 indexedDB.deleteDatabase(dbname) |
10 indexedDB.open(dbname) | 11 indexedDB.open(dbname) |
(...skipping 12 matching lines...) Expand all Loading... |
23 openKeyCursorSuccess(): | 24 openKeyCursorSuccess(): |
24 PASS event.target.result is null | 25 PASS event.target.result is null |
25 db.transaction(['otherStoreName']) | 26 db.transaction(['otherStoreName']) |
26 otherStore = transaction.objectStore('otherStoreName') | 27 otherStore = transaction.objectStore('otherStoreName') |
27 otherStore.get('key') | 28 otherStore.get('key') |
28 PASS event.target.result is "value" | 29 PASS event.target.result is "value" |
29 PASS successfullyParsed is true | 30 PASS successfullyParsed is true |
30 | 31 |
31 TEST COMPLETE | 32 TEST COMPLETE |
32 | 33 |
OLD | NEW |