| OLD | NEW |
| 1 Test IndexedDB transaction does not crash on abort. | 1 Test IndexedDB transaction does not crash on abort. |
| 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-crash-on-abort.html" | 6 dbname = "transaction-crash-on-abort.html" |
| 9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 10 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
| 11 db.createObjectStore('foo') | 9 db.createObjectStore('foo') |
| 12 db.transaction('foo') | 10 db.transaction('foo') |
| 13 self.gc() | 11 self.gc() |
| 14 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 15 | 13 |
| 16 TEST COMPLETE | 14 TEST COMPLETE |
| 17 | 15 |
| OLD | NEW |