Blob type cannot be stored correctly in IDB when IDBObjectStore has autoIncrement...
[WebKit-https.git] / LayoutTests / storage / indexeddb / modern / objectstore-autoincrement-types-expected.txt
1 Test IndexedDB's IDBObjectStore auto-increment feature with more types.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
7
8 indexedDB.deleteDatabase(dbname)
9 indexedDB.open(dbname)
10 createObjectStore():
11 store = db.createObjectStore('Store', {keyPath: 'primaryKey', autoIncrement: true})
12 PASS request.result.size is blob.size
13 PASS request.result.type is blob.type
14 PASS request.result.primaryKey is primaryKey
15 PASS request.result.name is file.name
16 PASS request.result.lastModified is file.lastModified
17 PASS request.result.primaryKey is primaryKey
18 PASS request.result.height is imageData.height
19 PASS request.result.width is imageData.width
20 PASS JSON.stringify(request.result.data) is JSON.stringify(imageData.data)
21 PASS request.result.primaryKey is primaryKey
22 PASS request.result.length is fileList.length
23 PASS request.result.primaryKey is primaryKey
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27