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

Unified Diff: LayoutTests/storage/indexeddb/blob-valid-before-commit-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-valid-before-commit-expected.txt
diff --git a/LayoutTests/storage/indexeddb/blob-valid-before-commit-expected.txt b/LayoutTests/storage/indexeddb/blob-valid-before-commit-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22aec005b68c8d877e8395ba32f8515926a40f0e
--- /dev/null
+++ b/LayoutTests/storage/indexeddb/blob-valid-before-commit-expected.txt
@@ -0,0 +1,20 @@
+Confirm that blobs can be read back before their records are committed.
+
+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-valid-before-commit.html"
+indexedDB.deleteDatabase(dbname)
+indexedDB.open(dbname)
+store = db.createObjectStore('store')
+store.put(value, key)
+request = store.get(key)
+PASS document.getElementById('frame0').contentDocument.body.innerText is blobAContent
+PASS document.getElementById('frame1').contentDocument.body.innerText is blobAContent
+PASS document.getElementById('frame2').contentDocument.body.innerText is blobBContent
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698