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

Unified Diff: LayoutTests/fast/files/file-constructor-expected.txt

Issue 74213009: File constructor understands lastModified. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 7 years, 1 month 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
« no previous file with comments | « LayoutTests/fast/files/file-constructor.html ('k') | Source/bindings/v8/V8Binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/files/file-constructor-expected.txt
diff --git a/LayoutTests/fast/files/file-constructor-expected.txt b/LayoutTests/fast/files/file-constructor-expected.txt
index 2c4bf484e46e3d13203a87b33ee2ad91bf1b1031..c197f4b587abcf0a9d55a261ab67a8525f8bfd83 100644
--- a/LayoutTests/fast/files/file-constructor-expected.txt
+++ b/LayoutTests/fast/files/file-constructor-expected.txt
@@ -58,6 +58,12 @@ PASS (new File([], 'world.html', {type:'text/html'})).name is 'world.html'
PASS (new File([], 'world.html', {type:'text/html'})).type is 'text/html'
PASS (new File([], 'world.html', {type:'text/html'})).size is 0
PASS (new File([], 'world.html', {type:'text/plain;charset=UTF-8'})).type is 'text/plain;charset=utf-8'
+PASS (new File([], 'world.html', {lastModified: 441532800000})).lastModified is 441532800000
+PASS startTime <= fileTime is true
+PASS fileTime <= endTime is true
+PASS (new File([], 'world.html', {lastModified: new Date(441532800000)})).lastModified is 441532800000
+PASS (new File([], 'world.html', {lastModified: 441532800000})).lastModifiedDate instanceof Date is true
+PASS (new File([], 'world.html', {lastModified: 441532800000})).lastModifiedDate.valueOf() is 441532800000
PASS window.File.length is 2
PASS new File([new DataView(new ArrayBuffer(100))], 'world.html').size is 100
PASS new File([new Uint8Array(100)], 'world.html').size is 100
« no previous file with comments | « LayoutTests/fast/files/file-constructor.html ('k') | Source/bindings/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698