| OLD | NEW |
| 1 Check that readwrite transactions with overlapping scopes do not run in parallel
. | 1 Check that readwrite transactions with overlapping scopes do not run in parallel
. |
| 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-readwrite-exclusive.html" | 6 dbname = "transaction-readwrite-exclusive.html" |
| 9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 10 | 8 |
| 11 openConnection1(): | 9 openConnection1(): |
| 12 indexedDB.open(dbname, 1) | 10 indexedDB.open(dbname, 1) |
| 13 | 11 |
| 14 openOnUpgradeNeeded1(): | 12 openOnUpgradeNeeded1(): |
| 15 db = event.target.result | 13 db = event.target.result |
| 16 store = db.createObjectStore('store') | 14 store = db.createObjectStore('store') |
| 17 | 15 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 65 |
| 68 onTransaction2Complete(): | 66 onTransaction2Complete(): |
| 69 transaction2Complete = true | 67 transaction2Complete = true |
| 70 PASS transaction1PutSuccess is true | 68 PASS transaction1PutSuccess is true |
| 71 PASS transaction1Complete is true | 69 PASS transaction1Complete is true |
| 72 PASS transaction2PutSuccess is true | 70 PASS transaction2PutSuccess is true |
| 73 PASS successfullyParsed is true | 71 PASS successfullyParsed is true |
| 74 | 72 |
| 75 TEST COMPLETE | 73 TEST COMPLETE |
| 76 | 74 |
| OLD | NEW |