• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1An open connection blocks a separate connection's setVersion call
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS IndexedDB == null is false
7IndexedDB.open('set-version-blocked')
8IndexedDB.open('set-version-blocked')
9connections[0].setVersion('version 1')
10seen_blocked_event = true
11PASS blocked_event.version is "version 1"
12PASS blocked_event.target.readyState is 1
13connections[1].close()
14in setVersion.onsuccess
15PASS seen_blocked_event is true
16Deleted all object stores.
17PASS successfullyParsed is true
18
19TEST COMPLETE
20
21