OLD | NEW |
1 Test IndexedDB object store required arguments | 1 Test IndexedDB object store required arguments |
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 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | |
7 | |
8 dbname = "objectStore-required-arguments.html" | 6 dbname = "objectStore-required-arguments.html" |
9 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
10 indexedDB.open(dbname) | 8 indexedDB.open(dbname) |
11 objectStore = db.createObjectStore('foo'); | 9 objectStore = db.createObjectStore('foo'); |
12 PASS objectStore.put(); threw exception TypeError: Failed to execute 'put' on 'I
DBObjectStore': 1 argument required, but only 0 present.. | 10 PASS objectStore.put(); threw exception TypeError: Failed to execute 'put' on 'I
DBObjectStore': 1 argument required, but only 0 present.. |
13 PASS objectStore.add(); threw exception TypeError: Failed to execute 'add' on 'I
DBObjectStore': 1 argument required, but only 0 present.. | 11 PASS objectStore.add(); threw exception TypeError: Failed to execute 'add' on 'I
DBObjectStore': 1 argument required, but only 0 present.. |
14 PASS objectStore.delete(); threw exception TypeError: Failed to execute 'delete'
on 'IDBObjectStore': 1 argument required, but only 0 present.. | 12 PASS objectStore.delete(); threw exception TypeError: Failed to execute 'delete'
on 'IDBObjectStore': 1 argument required, but only 0 present.. |
15 PASS objectStore.get(); threw exception TypeError: Failed to execute 'get' on 'I
DBObjectStore': 1 argument required, but only 0 present.. | 13 PASS objectStore.get(); threw exception TypeError: Failed to execute 'get' on 'I
DBObjectStore': 1 argument required, but only 0 present.. |
16 PASS objectStore.createIndex(); threw exception TypeError: Failed to execute 'cr
eateIndex' on 'IDBObjectStore': 2 arguments required, but only 0 present.. | 14 PASS objectStore.createIndex(); threw exception TypeError: Failed to execute 'cr
eateIndex' on 'IDBObjectStore': 2 arguments required, but only 0 present.. |
17 PASS objectStore.createIndex('foo'); threw exception TypeError: Failed to execut
e 'createIndex' on 'IDBObjectStore': 2 arguments required, but only 1 present.. | 15 PASS objectStore.createIndex('foo'); threw exception TypeError: Failed to execut
e 'createIndex' on 'IDBObjectStore': 2 arguments required, but only 1 present.. |
18 PASS objectStore.index(); threw exception TypeError: Failed to execute 'index' o
n 'IDBObjectStore': 1 argument required, but only 0 present.. | 16 PASS objectStore.index(); threw exception TypeError: Failed to execute 'index' o
n 'IDBObjectStore': 1 argument required, but only 0 present.. |
19 PASS objectStore.deleteIndex(); threw exception TypeError: Failed to execute 'de
leteIndex' on 'IDBObjectStore': 1 argument required, but only 0 present.. | 17 PASS objectStore.deleteIndex(); threw exception TypeError: Failed to execute 'de
leteIndex' on 'IDBObjectStore': 1 argument required, but only 0 present.. |
20 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
21 | 19 |
22 TEST COMPLETE | 20 TEST COMPLETE |
23 | 21 |
OLD | NEW |