| OLD | NEW |
| 1 Test IndexedDB readonly properties | 1 Test IndexedDB readonly properties |
| 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 = "readonly.html" | 6 dbname = "readonly.html" |
| 9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
| 11 transaction = event.target.transaction; | 9 transaction = event.target.transaction; |
| 12 trying to set readonly property transaction.mode | 10 trying to set readonly property transaction.mode |
| 13 transaction.mode = 666 | 11 transaction.mode = 666 |
| 14 PASS transaction.mode is still versionchange | 12 PASS transaction.mode is still versionchange |
| 15 trying to set readonly property transaction.db | 13 trying to set readonly property transaction.db |
| 16 transaction.db = this | 14 transaction.db = this |
| 17 PASS transaction.db is still [object IDBDatabase] | 15 PASS transaction.db is still [object IDBDatabase] |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 request.readyState = 666 | 77 request.readyState = 666 |
| 80 PASS request.readyState is still done | 78 PASS request.readyState is still done |
| 81 db = event.target.result | 79 db = event.target.result |
| 82 trying to set readonly property db.name | 80 trying to set readonly property db.name |
| 83 db.name = 'bar' | 81 db.name = 'bar' |
| 84 PASS db.name is still readonly.html | 82 PASS db.name is still readonly.html |
| 85 PASS successfullyParsed is true | 83 PASS successfullyParsed is true |
| 86 | 84 |
| 87 TEST COMPLETE | 85 TEST COMPLETE |
| 88 | 86 |
| OLD | NEW |