1 Test that deleting an object store and a database containing blobs doesn't crash.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "blob-delete-objectstore-db.html"
7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname, 1)
9 store0 = db.createObjectStore('store0')
10 store1 = db.createObjectStore('store1')
11 store0.put(blobA, key)
15 request = indexedDB.open(dbname, 2)
18 db.deleteObjectStore('store0')
20 didDeleteObjectStore():
21 trans = db.transaction('store1', 'readwrite')
22 store1 = trans.objectStore('store1')
23 store1.put(blobB, key)
25 request = indexedDB.deleteDatabase(dbname)
27 PASS successfullyParsed is true