/home/clopez/webkit/webkit/layout-test-results/storage/indexeddb/modern/deletedatabase-2-actual.txt

1 This tests that if deleteDatabase is called while there is already an open connection to the database that the open connection gets the appropriate versionChange event. That open connection also has an in-progress transaction at the time it gets the versionChange event.
 1FAIL: Timed out waiting for notifyDone to be called
22
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4 
5 
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
7 
8 indexedDB.deleteDatabase(dbname)
9 indexedDB.open(dbname)
10 Initial upgrade old version - 0 new version - 1
11 Requesting deleteDatabase
12 First connection received versionchange event: oldVersion 1, newVersion null
13 First version change complete
14 Open request error: AbortError
15 Delete database success: oldVersion 1, newVersion null
16 Recreating database to make sure it's new and empty
17 Second upgrade old version - 0 new version - 1
18 Unable to get object store in second upgrade transaction (which is correct because it should not be there)
19 Second database upgrade success
20 PASS successfullyParsed is true
21 
22 TEST COMPLETE
23