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

Unified Diff: LayoutTests/storage/indexeddb/noblobs-expected.txt

Issue 18590006: Blob support for IDB [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: small cleanup Created 7 years 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/noblobs-expected.txt
diff --git a/LayoutTests/storage/indexeddb/noblobs-expected.txt b/LayoutTests/storage/indexeddb/noblobs-expected.txt
deleted file mode 100644
index 166fba6132c960b2d1b29941012e95ec298af823..0000000000000000000000000000000000000000
--- a/LayoutTests/storage/indexeddb/noblobs-expected.txt
+++ /dev/null
@@ -1,81 +0,0 @@
-Confirm Blob/File/FileList limitations of WebKit's IndexedDB implementation.
-
-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 = "noblobs.html"
-indexedDB.deleteDatabase(dbname)
-indexedDB.open(dbname)
-store = db.createObjectStore('storeName')
-store.put('value', 'key')
-
-testBlob():
-PASS FileReader != null is true
-test_content = 'This is a test. This is only a test.'
-blob = new Blob([test_content])
-
-validateExceptions(blob):
-transaction = db.transaction('storeName', 'readwrite')
-store = transaction.objectStore('storeName')
-Expecting exception from store.put(blob, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-Expecting exception from store.add(blob, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-request = store.openCursor()
-cursor = request.result
-Expecting exception from cursor.update(blob)
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-
-testFile():
-file = fileInput.files[0]
-
-validateExceptions(file):
-transaction = db.transaction('storeName', 'readwrite')
-store = transaction.objectStore('storeName')
-Expecting exception from store.put(file, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-Expecting exception from store.add(file, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-request = store.openCursor()
-cursor = request.result
-Expecting exception from cursor.update(file)
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-
-testFileList():
-filelist = fileInput.files
-
-validateExceptions(filelist):
-transaction = db.transaction('storeName', 'readwrite')
-store = transaction.objectStore('storeName')
-Expecting exception from store.put(filelist, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-Expecting exception from store.add(filelist, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-request = store.openCursor()
-cursor = request.result
-Expecting exception from cursor.update(filelist)
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698