OLD | NEW |
1 CONSOLE ERROR: line 82: Uncaught Error: This should *NOT* be caught! | 1 CONSOLE ERROR: line 1: ConstraintError: Key already exists in the object store. |
| 2 CONSOLE ERROR: line 83: Uncaught Error: This should *NOT* be caught! |
| 3 CONSOLE ERROR: line 1: ConstraintError: Key already exists in the object store. |
2 Test IDBTransaction.error cases. | 4 Test IDBTransaction.error cases. |
3 | 5 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 7 |
6 | 8 |
7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 9 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
8 | 10 |
9 dbname = "transaction-error.html" | 11 dbname = "transaction-error.html" |
10 indexedDB.deleteDatabase(dbname) | 12 indexedDB.deleteDatabase(dbname) |
11 indexedDB.open(dbname) | 13 indexedDB.open(dbname) |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 PASS trans.error.name is 'ConstraintError' | 66 PASS trans.error.name is 'ConstraintError' |
65 trans.error.message = Unable to add key to index 'Also test utf8: 漢': at least o
ne key does not satisfy the uniqueness requirements. | 67 trans.error.message = Unable to add key to index 'Also test utf8: 漢': at least o
ne key does not satisfy the uniqueness requirements. |
66 PASS trans.error.message is non-null. | 68 PASS trans.error.message is non-null. |
67 Note: This fails because of http://wkb.ug/37327 | 69 Note: This fails because of http://wkb.ug/37327 |
68 PASS trans.error.message.indexOf(indexName) is not -1 | 70 PASS trans.error.message.indexOf(indexName) is not -1 |
69 | 71 |
70 PASS successfullyParsed is true | 72 PASS successfullyParsed is true |
71 | 73 |
72 TEST COMPLETE | 74 TEST COMPLETE |
73 | 75 |
OLD | NEW |