Remove non-standard (obsolete) API File#lastModifiedDate in favor of current File#lastModified |
|||||||||||
Issue descriptionIt is commented as a non-standard API. Currently it is not in Gecko or WebKit. Should we standardize it or remove it?
,
Feb 15 2017
mek@chromium.org - did this property get renamed to lastModified at some point? I still see references to that in the GitHub repository for the spec.
,
Feb 15 2017
,
Feb 15 2017
Yeah, seems like the 2012 spec used lastModifiedDate as the name of the attribute, while the latest spec renamed that to lastModified. Don't think standardizing both makes sense, so we should really just try to deprecate and remove the non-standard version.
,
Feb 15 2017
We have both - `lastModifiedDate` is a Date (now nonstandard), `lastModified` is a long long (in the standard) Using the Date type fell out of vogue on the web platform.
,
Feb 15 2017
,
Feb 15 2017
,
Mar 2 2017
Firefox supports File.lastModifiedDate, but issues a deprecation warning on the console. Safari does not have it. Haven't checked IE/Edge yet.
,
Mar 9 2017
,
Mar 3 2018
,
May 3 2018
Issue 839372 has been merged into this issue.
,
May 3 2018
Per annevk in duplicate bug: See https://github.com/w3c/web-platform-tests/pull/10821 for tests. Seems it's just Chrome and Firefox that support this.
,
May 3 2018
Hrm... 0.03% of page loads with more accurate metrics. That's disappointing. Hopefully a small number of big sites that can update...?
,
Jun 15 2018
,
Jun 15 2018
,
Jun 18 2018
Issue 839431 has been merged into this issue.
,
Jun 18 2018
0.03% is indeed on the high side, and with multiple browser supporting it, it seems even more likely to cause breakages... But looking at the firefox bug, it seems they have removed it in the upcoming Firefox 61 release, so that gives hope. Should we wait and see what happens for them, or just try and go ahead with our own deprecation in M69 and removal in M70?
,
Jun 18 2018
If I were an API_OWNER I'd say "wait and see" combined with a HTTPArchive search to see if we can identify the sites driving the number up.
,
Jun 19 2018
Maybe add this to UKM metrics to help with "identify the sites driving the number up"? |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by jsb...@chromium.org
, Feb 15 2017