From aa3c842b46c037dde06dfd48e10fcbd999f8885d Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Tue, 24 Sep 2019 13:24:42 -0700 Subject: [PATCH] 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 --- index.bs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.bs b/index.bs index 6fce99f..f52182f 100644 --- a/index.bs +++ b/index.bs @@ -762,7 +762,7 @@ following type-specific properties: - +
TypeProperties
{{Blob}}{{Blob/size}}, {{Blob/type}}
{{File}}{{File/name}}, {{File/lastModified}}, `lastModifiedDate`
{{File}}{{File/name}}, {{File/lastModified}}
[=Array=]`length`
[=String=]`length`
@@ -6344,10 +6344,6 @@ ECMAScript value or failure, or the steps may throw an exception. : If |value| is a {{File}} and |identifier| is "`lastModified`" :: Let |value| be a Number equal to |value|'s {{File/lastModified}}. - : If |value| is a {{File}} and |identifier| is "`lastModifiedDate`" - :: Let |value| be a new [=Date=] object with \[[DateValue]] internal slot - equal to |value|'s {{File/lastModified}}. - : Otherwise :: 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 * Added {{IDBFactory/databases()}} method. ([Issue #31](https://github.com/w3c/IndexedDB/issues/31)) * Added {{IDBTransaction/commit()}} method. ([Issue #234](https://github.com/w3c/IndexedDB/issues/234)) * Added {{IDBCursor/request}} attribute. ([Issue #255](https://github.com/w3c/IndexedDB/issues/255)) +* Removed handling for nonstandard `lastModifiedDate` property of {{File}} objects. ([Issue #215](https://github.com/w3c/IndexedDB/issues/215)) # Acknowledgements # {#acknowledgements}