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..d32bdc1d3996be39967d224bcc452f69850fe893 100644 |
--- a/LayoutTests/fast/files/file-constructor-expected.txt |
+++ b/LayoutTests/fast/files/file-constructor-expected.txt |
@@ -58,6 +58,13 @@ 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 (new File([], 'world.html')).lastModified is equivalent to Date.now(). |
+PASS (new File([], 'world.html', {})).lastModified is equivalent to Date.now(). |
+PASS (new File([], 'world.html', {type: 'text/plain'})).lastModified is equivalent to Date.now(). |
+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 |