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

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: 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/noblobs-expected.txt
diff --git a/LayoutTests/storage/indexeddb/noblobs-expected.txt b/LayoutTests/storage/indexeddb/noblobs-expected.txt
deleted file mode 100644
index 15fe5beace169224851f4aab1e09050c6e153ef1..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: Failed to execute 'put' on 'IDBObjectStore': The object store currently does not support blob values.
-Expecting exception from store.add(blob, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: Failed to execute 'add' on 'IDBObjectStore': The object store currently does not support blob values.
-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: Failed to execute 'update' on 'IDBCursor': The object store currently does not support blob values.
-
-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: Failed to execute 'put' on 'IDBObjectStore': The object store currently does not support blob values.
-Expecting exception from store.add(file, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: Failed to execute 'add' on 'IDBObjectStore': The object store currently does not support blob values.
-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: Failed to execute 'update' on 'IDBCursor': The object store currently does not support blob values.
-
-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: Failed to execute 'put' on 'IDBObjectStore': The object store currently does not support blob values.
-Expecting exception from store.add(filelist, 'key')
-PASS Exception was thrown.
-PASS code is DOMException.DATA_CLONE_ERR
-Exception message: Failed to execute 'add' on 'IDBObjectStore': The object store currently does not support blob values.
-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: Failed to execute 'update' on 'IDBCursor': The object store currently does not support blob values.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
« no previous file with comments | « LayoutTests/storage/indexeddb/noblobs.html ('k') | LayoutTests/storage/indexeddb/resources/keypath-intrinsic-properties.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698