blob: 520a22132f2b9c310e60d0fbe7742635e96c09bd [file] [log] [blame]
This tests getting basic properties on an IDBIndex.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
Initial upgrade needed: Old version - 0 New version - 1
TestIndex1
[object IDBObjectStore]
TestObjectStore
foo
false
false
TestIndex2
[object IDBObjectStore]
TestObjectStore
foo
false
false
TestIndex3
[object IDBObjectStore]
TestObjectStore
foo
false
true
TestIndex4
[object IDBObjectStore]
TestObjectStore
foo
true
false
TestIndex5
[object IDBObjectStore]
TestObjectStore
foo
true
true
TestIndex6
[object IDBObjectStore]
TestObjectStore
foo
false
false
TestIndex7
[object IDBObjectStore]
TestObjectStore
foo,bar
false
false
Initial upgrade versionchange transaction complete
TestIndex1
[object IDBObjectStore]
TestObjectStore
foo
false
false
TestIndex2
[object IDBObjectStore]
TestObjectStore
foo
false
false
TestIndex3
[object IDBObjectStore]
TestObjectStore
foo
false
true
TestIndex4
[object IDBObjectStore]
TestObjectStore
foo
true
false
TestIndex5
[object IDBObjectStore]
TestObjectStore
foo
true
true
TestIndex6
[object IDBObjectStore]
TestObjectStore
foo
false
false
TestIndex7
[object IDBObjectStore]
TestObjectStore
foo,bar
false
false
readonly transaction complete
PASS successfullyParsed is true
TEST COMPLETE