| OLD | NEW |
| 1 [Worker] Test the basics of IndexedDB's webkitIDBIndex. | 1 [Worker] Test the basics of IndexedDB's webkitIDBIndex. |
| 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 Starting worker: resources/index-basics.js | 6 Starting worker: resources/index-basics.js |
| 7 [Worker] indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB
|| self.msIndexedDB || self.OIndexedDB; | 7 [Worker] indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB
|| self.msIndexedDB || self.OIndexedDB; |
| 8 [Worker] | 8 [Worker] |
| 9 [Worker] dbname = "index-basics.js" | 9 [Worker] dbname = "index-basics.js" |
| 10 [Worker] indexedDB.deleteDatabase(dbname) | 10 [Worker] indexedDB.deleteDatabase(dbname) |
| 11 [Worker] indexedDB.open(dbname) | 11 [Worker] indexedDB.open(dbname) |
| 12 [Worker] | 12 [Worker] |
| 13 [Worker] prepareDatabase(): | 13 [Worker] prepareDatabase(): |
| 14 [Worker] db.createObjectStore('storeName', null) | 14 [Worker] db.createObjectStore('storeName', null) |
| 15 [Worker] store.createIndex('indexName', 'x') | 15 [Worker] store.createIndex('indexName', 'x') |
| 16 [Worker] store.createIndex('indexName2', 'y', {unique: false}) | 16 [Worker] store.createIndex('indexName2', 'y', {unique: false}) |
| 17 [Worker] store.createIndex('zIndex', 'z', {unique: true}) | 17 [Worker] store.createIndex('zIndex', 'z', {unique: true}) |
| 18 PASS [Worker] store.createIndex('index4', 'path', undefined) did not throw excep
tion. |
| 18 PASS [Worker] indexObject2.unique is false | 19 PASS [Worker] indexObject2.unique is false |
| 19 PASS [Worker] indexObject3.unique is true | 20 PASS [Worker] indexObject3.unique is true |
| 20 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z
zz', true) | 21 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z
zz', true) |
| 21 PASS [Worker] Exception was thrown. | 22 PASS [Worker] Exception was thrown. |
| 22 PASS [Worker] store.createIndex('failureIndex', 'zzz', true) threw TypeError: Fa
iled to execute 'createIndex' on 'IDBObjectStore': No function was found that ma
tched the signature provided. | 23 PASS [Worker] store.createIndex('failureIndex', 'zzz', true) threw TypeError: Fa
iled to execute 'createIndex' on 'IDBObjectStore': No function was found that ma
tched the signature provided. |
| 23 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z
zz', 'string') | 24 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z
zz', 'string') |
| 24 PASS [Worker] Exception was thrown. | 25 PASS [Worker] Exception was thrown. |
| 25 PASS [Worker] store.createIndex('failureIndex', 'zzz', 'string') threw TypeError
: Failed to execute 'createIndex' on 'IDBObjectStore': No function was found tha
t matched the signature provided. | 26 PASS [Worker] store.createIndex('failureIndex', 'zzz', 'string') threw TypeError
: Failed to execute 'createIndex' on 'IDBObjectStore': No function was found tha
t matched the signature provided. |
| 26 PASS [Worker] 'name' in indexObject is true | 27 PASS [Worker] 'name' in indexObject is true |
| 27 PASS [Worker] indexObject.name is "indexName" | 28 PASS [Worker] indexObject.name is "indexName" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 [Worker] Passing an invalid key into indexObject.getKey({}). | 136 [Worker] Passing an invalid key into indexObject.getKey({}). |
| 136 [Worker] Expecting exception from indexObject.getKey({}) | 137 [Worker] Expecting exception from indexObject.getKey({}) |
| 137 PASS [Worker] Exception was thrown. | 138 PASS [Worker] Exception was thrown. |
| 138 PASS [Worker] code is 0 | 139 PASS [Worker] code is 0 |
| 139 PASS [Worker] ename is 'DataError' | 140 PASS [Worker] ename is 'DataError' |
| 140 [Worker] Exception message: Failed to execute 'getKey' on 'IDBIndex': The parame
ter is not a valid key. | 141 [Worker] Exception message: Failed to execute 'getKey' on 'IDBIndex': The parame
ter is not a valid key. |
| 141 PASS successfullyParsed is true | 142 PASS successfullyParsed is true |
| 142 | 143 |
| 143 TEST COMPLETE | 144 TEST COMPLETE |
| 144 | 145 |
| OLD | NEW |