/home/clopez/webkit/webkit/layout-test-results/storage/indexeddb/dont-commit-on-blocked-private-actual.txt
5
5
6
6
indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
7
7
8
dbname = "dont-commit-on-blocked.html"
9
8
indexedDB.deleteDatabase(dbname)
10
9
indexedDB.open(dbname)
11
10
db.onversionchange = onVersionChange
25
24
[Worker] spinning for 100ms to let events be queued but prevent dispatch
26
25
[Worker] done spinning
27
26
[Worker]
28
[Worker] onSetVersionBlocked():
29
PASS [Worker] state is "setversion"
30
[Worker] state = 'blocked'
31
[Worker]
32
27
[Worker] onSetVersionSuccess():
33
28
[Worker] db = event.target.result
34
P
ASS
[Worker] state
i
s
"
blocked
"
29
F
AIL
[Worker] state
should
be
blocked
. Was setversion.
35
30
[Worker] state = 'success'
36
31
[Worker] creating object store - will fail if transaction commited after blocked event
37
32
[Worker] db.createObjectStore('store2')
39
34
[Worker] onTransactionComplete
40
35
PASS [Worker] state is "success"
41
36
PASS [Worker] Number(db.version) is 2
42
P
ASS
[Worker] db.objectStoreNames.contains('store1')
i
s
true
37
F
AIL
[Worker] db.objectStoreNames.contains('store1')
should be
true
. Was false.
43
38
PASS [Worker] db.objectStoreNames.contains('store2') is true
44
39
PASS successfullyParsed is true
40
Some tests failed.
45
41
46
42
TEST COMPLETE
47
43