Add lastModifiedDate attribute to File interface per File API spec:
Created attachment 74527 [details] Proposed Patch
Attachment 74527 [details] did not build on gtk: Build output: http://queues.webkit.org/results/6251084
Created attachment 74529 [details] Proposed Patch Fixed gtk error.
Attachment 74529 [details] did not build on gtk: Build output: http://queues.webkit.org/results/6165136
Created attachment 74530 [details] Proposed Patch
The spec calls for lastModifiedDate to be a DOMString, not a Date. It wants a "valid date string": http://dev.w3.org/html5/spec/Overview.html#valid-date-string Or in otherwords, YYYY-MM-DD
(In reply to comment #6) > The spec calls for lastModifiedDate to be a DOMString, not a Date. It wants a "valid date string": > > http://dev.w3.org/html5/spec/Overview.html#valid-date-string > > Or in otherwords, YYYY-MM-DD The spec has just been updated with a Date object returned for File.lastModifiedData. http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate
(In reply to comment #7) > (In reply to comment #6) > > The spec calls for lastModifiedDate to be a DOMString, not a Date. It wants a "valid date string": > > > > http://dev.w3.org/html5/spec/Overview.html#valid-date-string > > > > Or in otherwords, YYYY-MM-DD > > The spec has just been updated with a Date object returned for File.lastModifiedData. > http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate Indeed, good. When will that be the latest published version you think?
(In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #6) > > > The spec calls for lastModifiedDate to be a DOMString, not a Date. It wants a "valid date string": > > > > > > http://dev.w3.org/html5/spec/Overview.html#valid-date-string > > > > > > Or in otherwords, YYYY-MM-DD > > > > The spec has just been updated with a Date object returned for File.lastModifiedData. > > http://dev.w3.org/2006/webapi/FileAPI/#dfn-lastModifiedDate > > Indeed, good. When will that be the latest published version you think? Please ping the spec editor about this. Thanks.
Committed as http://trac.webkit.org/changeset/74380.
http://trac.webkit.org/changeset/74380 might have broken GTK Linux 64-bit Debug