blob: 0cf9566e1c16e22255a04c34580051ade1e7aa9c [file] [log] [blame]
Tests refreshing the database information and data views.
Dumping IndexedDB tree:
(empty)
Created database.
Dumping IndexedDB tree:
database: testDatabase - http://127.0.0.1:8000
(no object stores)
Created first objectstore.
Dumping IndexedDB tree:
database: testDatabase - http://127.0.0.1:8000
Object store: testObjectStore1
Index: testIndex
Created second objectstore.
Dumping IndexedDB tree:
database: testDatabase - http://127.0.0.1:8000
Object store: testObjectStore1
Index: testIndex
Object store: testObjectStore2
Index: testIndex
Dumping ObjectStore data:
Object store: testObjectStore1
Number of entries: 0
Index: testIndex
Number of entries: 0
Object store: testObjectStore2
Number of entries: 0
Index: testIndex
Number of entries: 0
Added testObjectStore1 entry.
Dumping ObjectStore data:
Object store: testObjectStore1
Number of entries: 0
Index: testIndex
Number of entries: 0
Object store: testObjectStore2
Number of entries: 0
Index: testIndex
Number of entries: 0
Refreshed database view.
Dumping ObjectStore data:
Object store: testObjectStore1
Number of entries: 1
Key = testKey, value = [object Object]
Index: testIndex
Number of entries: 1
Key = testKey, value = [object Object]
Object store: testObjectStore2
Number of entries: 0
Index: testIndex
Number of entries: 0
Added testObjectStore2 entry.
Dumping ObjectStore data:
Object store: testObjectStore1
Number of entries: 1
Key = testKey, value = [object Object]
Index: testIndex
Number of entries: 1
Key = testKey, value = [object Object]
Object store: testObjectStore2
Number of entries: 0
Index: testIndex
Number of entries: 0
Right-click refreshed database.
Dumping ObjectStore data:
Object store: testObjectStore1
Number of entries: 1
Key = testKey, value = [object Object]
Index: testIndex
Number of entries: 1
Key = testKey, value = [object Object]
Object store: testObjectStore2
Number of entries: 1
Key = testKey2, value = [object Object]
Index: testIndex
Number of entries: 1
Key = testKey2, value = [object Object]