Closed
Bug 899436
Opened 12 years ago
Closed 12 years ago
OS.File stat.lastModificationDate returns lastAccessDate on Windows
Categories
(Toolkit Graveyard :: OS.File, defect)
Tracking
(firefox24 fixed, firefox25 fixed)
RESOLVED
FIXED
mozilla25
People
(Reporter: markh, Assigned: markh)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
2.74 KB,
patch
|
Yoric
:
review+
bajaj
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Found via bug 898598. The give-away is the line in osfile_win_allthreads.jsm:
this._lastModificationDate = lastAccessDate;
:)
Assignee | ||
Comment 1•12 years ago
|
||
The tests seem to pass with this change, but I'm not sure if anything else is necessary?
Assignee: nobody → mhammond
Attachment #782958 -
Flags: review?(dteller)
Comment 2•12 years ago
|
||
Ahaha, that would certainly be useful.
Comment 3•12 years ago
|
||
Comment on attachment 782958 [details] [diff] [review]
osfile-last-modified-time.patch
Review of attachment 782958 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks.
Attachment #782958 -
Flags: review?(dteller) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment 6•12 years ago
|
||
Any chance of landing this in Firefox 24 for the ESR? It looks pretty straightforward, and this bug is preventing us from using OS.File for various fairly impactful things involving hundreds or thousands of files in Zotero. At best, it will require us to maintain two versions of code (asynchronous and synchronous) for another year, and Zotero users on the ESR will have significantly worse performance.
Comment 7•12 years ago
|
||
Looks pretty straightforward, I don't see any reason not to uplift. Mark, want to request approvals?
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 782958 [details] [diff] [review]
osfile-last-modified-time.patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Unknown
User impact if declined: Addon authors are unable to OS.File in some contexts.
Testing completed (on m-c, etc.): Landed on M-C on July 31.
Risk to taking this patch (and alternatives if risky): Low risk, limited to OS.File functionality on Windows.
String or IDL/UUID changes made by this patch: None
Please see comment 6 and comment 7
Attachment #782958 -
Flags: approval-mozilla-beta?
Attachment #782958 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #782958 -
Flags: approval-mozilla-beta?
Attachment #782958 -
Flags: approval-mozilla-beta+
Attachment #782958 -
Flags: approval-mozilla-aurora?
Attachment #782958 -
Flags: approval-mozilla-aurora+
Assignee | ||
Updated•12 years ago
|
status-firefox24:
--- → affected
status-firefox25:
--- → affected
Assignee | ||
Comment 9•12 years ago
|
||
Sorry for the spam, it seems I mis-clicked on the flags
Comment 10•12 years ago
|
||
This landed on m-c for Fx25, so this doesn't need uplifting to Aurora.
https://hg.mozilla.org/releases/mozilla-beta/rev/6c752934f8b5
Comment 11•12 years ago
|
||
Assuming no verification needed here. Please add the verifyme keyword and remove the [qa-] whiteboard tag to request verification.
Whiteboard: [qa-]
Updated•2 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•