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