[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 11:39:33 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=47311
--- Comment #4 from Kinuko Yasuda <kinuko at chromium.org> 2010-12-01 11:39:33 PST ---
(In reply to comment #3)
> (From update of attachment 71481 [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.
--
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