| OLD | NEW |
| 1 Check that scope restrictions on read-write transactions are enforced. | 1 Check that scope restrictions on read-write transactions are enforced. |
| 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 = "transaction-scope-sequencing.html" | 6 dbname = "transaction-scope-sequencing.html" |
| 9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
| 11 | 9 |
| 12 prepareDatabase(): | 10 prepareDatabase(): |
| 13 db = event.target.result | 11 db = event.target.result |
| 14 db.createObjectStore('a') | 12 db.createObjectStore('a') |
| 15 db.createObjectStore('b') | 13 db.createObjectStore('b') |
| 16 db.createObjectStore('c') | 14 db.createObjectStore('c') |
| 17 | 15 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 48 |
| 51 PASS transaction1Complete is true | 49 PASS transaction1Complete is true |
| 52 PASS transaction2Complete is true | 50 PASS transaction2Complete is true |
| 53 transaction3Started = true | 51 transaction3Started = true |
| 54 | 52 |
| 55 transaction3Complete = true | 53 transaction3Complete = true |
| 56 PASS successfullyParsed is true | 54 PASS successfullyParsed is true |
| 57 | 55 |
| 58 TEST COMPLETE | 56 TEST COMPLETE |
| 59 | 57 |
| OLD | NEW |