Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: LayoutTests/storage/indexeddb/blob-delete-objectstore-db-expected.txt

Issue 18590006: Blob support for IDB [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebasing issue? Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/storage/indexeddb/blob-delete-objectstore-db-expected.txt
diff --git a/LayoutTests/storage/indexeddb/blob-delete-objectstore-db-expected.txt b/LayoutTests/storage/indexeddb/blob-delete-objectstore-db-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3ba85cb046f690d9d85424c1eea5e77cb2f4b8b
--- /dev/null
+++ b/LayoutTests/storage/indexeddb/blob-delete-objectstore-db-expected.txt
@@ -0,0 +1,31 @@
+Test deleting an object store and a database containing blobs.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
+
+dbname = "blob-delete-objectstore-db.html"
+indexedDB.deleteDatabase(dbname)
+indexedDB.open(dbname, 1)
+store0 = db.createObjectStore('store0')
+store1 = db.createObjectStore('store1')
+store0.put(blobA, key)
+db.close()
+
+reopen():
+
+deleteObjectStore():
+db.deleteObjectStore('store0')
+
+didDeleteObjectStore()
+trans = db.transaction('store1', 'readwrite')
+store1 = trans.objectStore('store1')
+store1.put(blobB, key)
+db.close()
+request = indexedDB.deleteDatabase(dbname)
+Database deleted.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698