Skip to content

Commit 2bc2e3c

Browse files
Remove lastModifiedDate handling. (#300)
Several browsers used to implement a nonstandard lastModifiedDate property on File objects. This has been removed everywhere except Chrome, and it's not in the File API spec. This specification included special cases for keypath evaluation of that property name, and it wasn't tested. Remove the references. Closes #215
1 parent f3a43a7 commit 2bc2e3c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

index.bs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ following type-specific properties:
762762
<table class=props>
763763
<tr><th>Type</th><th>Properties</th></tr>
764764
<tr><td>{{Blob}}</td><td>{{Blob/size}}, {{Blob/type}}</td></tr>
765-
<tr><td>{{File}}</td><td>{{File/name}}, {{File/lastModified}}, `lastModifiedDate`</td></tr>
765+
<tr><td>{{File}}</td><td>{{File/name}}, {{File/lastModified}}</td></tr>
766766
<tr><td>[=Array=]</td><td>`length`</td></tr>
767767
<tr><td>[=String=]</td><td>`length`</td></tr>
768768
</table>
@@ -6344,10 +6344,6 @@ ECMAScript value or failure, or the steps may throw an exception.
63446344
: If |value| is a {{File}} and |identifier| is "`lastModified`"
63456345
:: Let |value| be a Number equal to |value|'s {{File/lastModified}}.
63466346

6347-
: If |value| is a {{File}} and |identifier| is "`lastModifiedDate`"
6348-
:: Let |value| be a new [=Date=] object with \[[DateValue]] internal slot
6349-
equal to |value|'s {{File/lastModified}}.
6350-
63516347
: Otherwise
63526348
::
63536349
1. If [=/Type=](|value|) is not Object, return failure.
@@ -6897,6 +6893,7 @@ For the revision history of the second edition, see [that document's Revision Hi
68976893
* Added {{IDBFactory/databases()}} method. ([Issue #31](https://github.com/w3c/IndexedDB/issues/31))
68986894
* Added {{IDBTransaction/commit()}} method. ([Issue #234](https://github.com/w3c/IndexedDB/issues/234))
68996895
* Added {{IDBCursor/request}} attribute. ([Issue #255](https://github.com/w3c/IndexedDB/issues/255))
6896+
* Removed handling for nonstandard `lastModifiedDate` property of {{File}} objects. ([Issue #215](https://github.com/w3c/IndexedDB/issues/215))
69006897

69016898
<!-- ============================================================ -->
69026899
# Acknowledgements # {#acknowledgements}

0 commit comments

Comments
 (0)