Closed
Bug 783086
Opened 13 years ago
Closed 13 years ago
[DeviceStorage]: in OOP apps, the enumerate() method ignores the since argument
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: djf, Assigned: dougt)
Details
Attachments
(1 file, 1 obsolete file)
3.28 KB,
patch
|
dhylands
:
review+
|
Details | Diff | Splinter Review |
The gallery app just switched to OOP, which triggered a DeviceStorage bug:
My call to enumerate() ignores the since property of the options object. It returns files with mod times before the specified date. Blacklisting the app again makes the bug go away.
I'd guess that you're serializing the options object to go cross process but the Date object isn't serializing correctly.
If you want to change the API to take a timestamp instead of a Date object it is probably not too late to do that. Otherwise, you'll have to manually serialize the date.
I've seen this on desktop and on otoro
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → doug.turner
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #652251 -
Flags: review?(khuey)
Comment on attachment 652251 [details] [diff] [review]
patch v.1
Wrong patch.
Attachment #652251 -
Flags: review?(khuey) → review-
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #652251 -
Attachment is obsolete: true
Attachment #652587 -
Flags: review?(khuey)
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 652587 [details] [diff] [review]
patch v.1
ingore the printf()
Assignee | ||
Updated•13 years ago
|
Attachment #652587 -
Flags: review?(khuey) → review?(dhylands)
Comment 5•13 years ago
|
||
Comment on attachment 652587 [details] [diff] [review]
patch v.1
Review of attachment 652587 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good (ignoring the printf in nsDeviceStorage.cpp)
Attachment #652587 -
Flags: review?(dhylands) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in
before you can comment on or make changes to this bug.
Description
•