Closed Bug 1048291 Opened 5 years ago Closed 3 years ago

Remove/Deprecate File::lastModifiedDate

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: baku, Assigned: baku)

References

()

Details

(Keywords: dev-doc-complete, site-compat)

Attachments

(1 file)

The latest version of the spec doesn't have this attribute in the File interface. We should deprecate it and remove it eventually.
Depends on: 1047483
I would like to use nsIDeprecationWarner.idl for this bug.
Depends on: 1204581
Wrong dependency?
No longer depends on: 1204581
Attached patch deprecated.patchSplinter Review
We should support deprecation warning also in workers. Follow up.
Assignee: nobody → amarchesini
Attachment #8758185 - Flags: review?(bugs)
Comment on attachment 8758185 [details] [diff] [review]
deprecated.patch

See also https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/fileapi/File.idl&q=file.idl&sq=package:chromium&l=41
Chrome status says "0.0046%"

Could you perhaps ping some blink folks about this. Perhaps they'd be willing to remove the attribute too.
Attachment #8758185 - Flags: review?(bugs) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e30a357b25f1
Deprecate File::lastModifiedDate, r=smaug
https://hg.mozilla.org/mozilla-central/rev/e30a357b25f1
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.