OLD | NEW |
| 1 CONSOLE WARNING: 'DOMStringList.contains()' is deprecated, and will be removed. |
1 [Worker] Test the basics of IndexedDB's IDBObjectStore. | 2 [Worker] Test the basics of IndexedDB's IDBObjectStore. |
2 | 3 |
3 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
". |
4 | 5 |
5 | 6 |
6 Starting worker: resources/objectstore-basics.js | 7 Starting worker: resources/objectstore-basics.js |
7 [Worker] dbname = "objectstore-basics.js" | 8 [Worker] dbname = "objectstore-basics.js" |
8 [Worker] indexedDB.deleteDatabase(dbname) | 9 [Worker] indexedDB.deleteDatabase(dbname) |
9 [Worker] indexedDB.open(dbname) | 10 [Worker] indexedDB.open(dbname) |
10 [Worker] | 11 [Worker] |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 PASS [Worker] db.version is 1 | 74 PASS [Worker] db.version is 1 |
74 PASS [Worker] store.transaction is setVersionTrans | 75 PASS [Worker] store.transaction is setVersionTrans |
75 PASS [Worker] store.indexNames is ['indexName'] | 76 PASS [Worker] store.indexNames is ['indexName'] |
76 PASS [Worker] store.indexNames.length is 1 | 77 PASS [Worker] store.indexNames.length is 1 |
77 PASS [Worker] store.indexNames.contains('') is false | 78 PASS [Worker] store.indexNames.contains('') is false |
78 PASS [Worker] store.indexNames.contains('indexFail') is false | 79 PASS [Worker] store.indexNames.contains('indexFail') is false |
79 PASS [Worker] store.indexNames.contains('indexName') is true | 80 PASS [Worker] store.indexNames.contains('indexName') is true |
80 PASS [Worker] store.indexNames[0] is "indexName" | 81 PASS [Worker] store.indexNames[0] is "indexName" |
81 PASS [Worker] store.indexNames[1] is undefined. | 82 PASS [Worker] store.indexNames[1] is undefined. |
82 PASS [Worker] store.indexNames[100] is undefined. | 83 PASS [Worker] store.indexNames[100] is undefined. |
83 PASS [Worker] store.indexNames.item(1) is null | |
84 PASS [Worker] store.indexNames.item(100) is null | |
85 [Worker] | 84 [Worker] |
86 [Worker] openAgain(): | 85 [Worker] openAgain(): |
87 [Worker] indexedDB.open(dbname) | 86 [Worker] indexedDB.open(dbname) |
88 [Worker] | 87 [Worker] |
89 [Worker] addData(): | 88 [Worker] addData(): |
90 [Worker] db = event.target.result | 89 [Worker] db = event.target.result |
91 [Worker] transaction = db.transaction(['storeName'], 'readwrite') | 90 [Worker] transaction = db.transaction(['storeName'], 'readwrite') |
92 [Worker] store = transaction.objectStore('storeName') | 91 [Worker] store = transaction.objectStore('storeName') |
93 [Worker] Try to insert data with a Date key: | 92 [Worker] Try to insert data with a Date key: |
94 [Worker] store.add({x: 'foo'}, testDate) | 93 [Worker] store.add({x: 'foo'}, testDate) |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 [Worker] The key parameter was provided but does not contain a valid key. | 226 [Worker] The key parameter was provided but does not contain a valid key. |
228 [Worker] Expecting exception from storeWithOutOfLineKeys.add({}, null) | 227 [Worker] Expecting exception from storeWithOutOfLineKeys.add({}, null) |
229 PASS [Worker] Exception was thrown. | 228 PASS [Worker] Exception was thrown. |
230 PASS [Worker] code is 0 | 229 PASS [Worker] code is 0 |
231 PASS [Worker] ename is 'DataError' | 230 PASS [Worker] ename is 'DataError' |
232 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': The par
ameter is not a valid key. | 231 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': The par
ameter is not a valid key. |
233 PASS successfullyParsed is true | 232 PASS successfullyParsed is true |
234 | 233 |
235 TEST COMPLETE | 234 TEST COMPLETE |
236 | 235 |
OLD | NEW |