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

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: aaaaaaaand one more nit. Created 6 years, 6 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..c90694456d8e77e167815a103fd10dbe830e53f1
--- /dev/null
+++ b/LayoutTests/storage/indexeddb/blob-delete-objectstore-db-expected.txt
@@ -0,0 +1,32 @@
+Test that deleting an object store and a database containing blobs doesn't crash.
+
+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():
+request = indexedDB.open(dbname, 2)
+
+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