Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / blob-valid-after-deletion-expected.txt
blobb17fcf94b81218af5a5efb9caf4866e020c04884
1 Confirm that blobs stay alive after their records are deleted.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 dbname = "blob-valid-after-deletion.html"
7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname)
9 store = db.createObjectStore('store')
10 store.put(value, key)
12 doRead():
13 trans = db.transaction('store')
14 store = trans.objectStore('store')
15 request = store.get(key)
16 trans = db.transaction('store', 'readwrite')
17 store = trans.objectStore('store')
18 request = store.delete(key)
19 PASS document.getElementById('frame0').contentDocument.body.innerText is blobAContent
20 PASS document.getElementById('frame1').contentDocument.body.innerText is blobAContent
21 PASS document.getElementById('frame2').contentDocument.body.innerText is blobBContent
22 PASS successfullyParsed is true
24 TEST COMPLETE
25