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

Unified Diff: LayoutTests/storage/indexeddb/blob-basics-metadata-expected.txt

Issue 433983002: LayoutTests for writing empty Blob/File/FileList to IndexedDB. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 6 years, 5 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-basics-metadata-expected.txt
diff --git a/LayoutTests/storage/indexeddb/blob-basics-metadata-expected.txt b/LayoutTests/storage/indexeddb/blob-basics-metadata-expected.txt
index b9d3b31d89c89b127042b2547cf03878caefc6c1..9d8b5d3728affd6a50433384aef578df546d75c3 100644
--- a/LayoutTests/storage/indexeddb/blob-basics-metadata-expected.txt
+++ b/LayoutTests/storage/indexeddb/blob-basics-metadata-expected.txt
@@ -17,6 +17,7 @@ test_content = 'This is a test. This is only a test.'
blob = new Blob([test_content])
validateResult(blob):
+PASS blob.size == test_content.length is true
transaction = db.transaction('storeName', 'readwrite')
store = transaction.objectStore('storeName')
store.put(blob, 'blobkey')
@@ -29,6 +30,7 @@ testFile():
file = fileInput.files[0]
validateResult(file):
+PASS file.name == fileInput.files[0].name is true
transaction = db.transaction('storeName', 'readwrite')
store = transaction.objectStore('storeName')
store.put(file, 'filekey')
@@ -41,6 +43,7 @@ testFileList():
filelist = fileInput.files
validateResult(filelist):
+PASS filelist[1].name == fileInput.files[1].name is true
transaction = db.transaction('storeName', 'readwrite')
store = transaction.objectStore('storeName')
store.put(filelist, 'filelistkey')
« no previous file with comments | « LayoutTests/storage/indexeddb/blob-basics-metadata.html ('k') | LayoutTests/storage/indexeddb/empty-blob-file.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698