OLD | NEW |
| 1 CONSOLE WARNING: 'DOMStringList.contains()' is deprecated, and will be removed. |
| 2 CONSOLE WARNING: 'DOMStringList.item(n)' is deprecated, and will be removed. Ple
ase use indexing instead, e.g.: list[n] |
1 Test the basics of IndexedDB's IDBDatabase. | 3 Test the basics of IndexedDB's IDBDatabase. |
2 | 4 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 6 |
5 | 7 |
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 8 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
7 | 9 |
8 dbname = "database-basics.html" | 10 dbname = "database-basics.html" |
9 indexedDB.deleteDatabase(dbname) | 11 indexedDB.deleteDatabase(dbname) |
10 indexedDB.open(dbname) | 12 indexedDB.open(dbname) |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 PASS Exception was thrown. | 55 PASS Exception was thrown. |
54 PASS code is DOMException.INVALID_STATE_ERR | 56 PASS code is DOMException.INVALID_STATE_ERR |
55 PASS ename is 'InvalidStateError' | 57 PASS ename is 'InvalidStateError' |
56 Exception message: Failed to execute 'transaction' on 'IDBDatabase': The databas
e connection is closing. | 58 Exception message: Failed to execute 'transaction' on 'IDBDatabase': The databas
e connection is closing. |
57 Call twice, make sure it's harmless | 59 Call twice, make sure it's harmless |
58 db.close() | 60 db.close() |
59 PASS successfullyParsed is true | 61 PASS successfullyParsed is true |
60 | 62 |
61 TEST COMPLETE | 63 TEST COMPLETE |
62 | 64 |
OLD | NEW |