[Webkit-unassigned] [Bug 47311] Add layout tests for Entry.getMetadata (FileSystem API)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 1 12:46:37 PST 2010


--- Comment #5 from Eric U. <ericu at chromium.org>  2010-12-01 12:46:37 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (From update of attachment 71481 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=71481&action=review
> > 
> > >> LayoutTests/fast/filesystem/resources/op-tests-helper.js:331
> > >> +            // Record rounded start date (current time minus 999 msec) here for the comparison. Entry.getMetadata() may return motd in seconds accuracy while new Date() is milliseconds accuracy.
> > > 
> > > What is motd?
> Ouch I think I meant mod time (last modification time).  Will fix in the next patch.
> > Why would getMetadata be so inaccurate?  Is that a filesystem limitation or part of our implementation?
> It's due to our implementation (at least for chromium).
> We use WebFileInfo structure defined in WebKit API for filling metadata and WebFileInfo.modificationTime is defined as "The last modification time of the file, in seconds."
> We can fix it but it'll need two-sided patch.

Well, there's no requirement that it be any more accurate than that.  I was just curious.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list