| OLD | NEW |
| 1 CONSOLE ERROR: line 36: Uncaught this exception is expected | 1 CONSOLE ERROR: line 36: Uncaught this exception is expected |
| 2 CONSOLE ERROR: line 36: Uncaught this exception is expected | 2 CONSOLE ERROR: line 36: Uncaught this exception is expected |
| 3 Test exceptions in IDBRequest handlers cause aborts. | 3 Test exceptions in IDBRequest handlers cause aborts. |
| 4 | 4 |
| 5 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
". |
| 6 | 6 |
| 7 | 7 |
| 8 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | |
| 9 | |
| 10 dbname = "exception-in-event-aborts.html" | 8 dbname = "exception-in-event-aborts.html" |
| 11 indexedDB.deleteDatabase(dbname) | 9 indexedDB.deleteDatabase(dbname) |
| 12 indexedDB.open(dbname) | 10 indexedDB.open(dbname) |
| 13 store = db.createObjectStore('storeName', null) | 11 store = db.createObjectStore('storeName', null) |
| 14 store.add({x: 'value', y: 'zzz'}, 'key') | 12 store.add({x: 'value', y: 'zzz'}, 'key') |
| 15 | 13 |
| 16 trans = db.transaction(['storeName'], 'readwrite') | 14 trans = db.transaction(['storeName'], 'readwrite') |
| 17 trans.onabort = transactionAborted1 | 15 trans.onabort = transactionAborted1 |
| 18 trans.oncomplete = unexpectedCompleteCallback | 16 trans.oncomplete = unexpectedCompleteCallback |
| 19 store = trans.objectStore('storeName') | 17 store = trans.objectStore('storeName') |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 store = trans.objectStore('storeName') | 49 store = trans.objectStore('storeName') |
| 52 store.add({x: 'value4', y: 'zzz4'}, 'key4') | 50 store.add({x: 'value4', y: 'zzz4'}, 'key4') |
| 53 PASS key4 added | 51 PASS key4 added |
| 54 | 52 |
| 55 PASS The transaction completed. | 53 PASS The transaction completed. |
| 56 | 54 |
| 57 PASS successfullyParsed is true | 55 PASS successfullyParsed is true |
| 58 | 56 |
| 59 TEST COMPLETE | 57 TEST COMPLETE |
| 60 | 58 |
| OLD | NEW |