blob: e1ba5d196fa75421525f35ebd35f51c68683bc32 [file] [log] [blame]
Tests that the IndexedDB database content live updates.
Dumping IndexedDB tree:
database: database1 - http://127.0.0.1:8000
Object store: objectStore1
Index: index1
Object store marked needs refresh = false
Index marked needs refresh = false
Add entry to objectStore1:
Object store marked needs refresh = true
Index marked needs refresh = true
Dumping ObjectStore data:
Object store: objectStore1
Number of entries: 0
Index: index1
Number of entries: 0
Refresh views:
Object store marked needs refresh = false
Index marked needs refresh = false
Dumping ObjectStore data:
Object store: objectStore1
Number of entries: 1
Key = testKey, value = [object Object]
Index: index1
Number of entries: 1
Key = testKey, value = [object Object]
Delete entry from objectStore1:
Object store marked needs refresh = true
Index marked needs refresh = true
Dumping ObjectStore data:
Object store: objectStore1
Number of entries: 1
Key = testKey, value = [object Object]
Index: index1
Number of entries: 1
Key = testKey, value = [object Object]
Refresh views:
Object store marked needs refresh = false
Index marked needs refresh = false
Dumping ObjectStore data:
Object store: objectStore1
Number of entries: 0
Index: index1
Number of entries: 0