Closed Bug 398218 Opened 18 years ago Closed 18 years ago

Download DB tracks -1 as the max size when resuming

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9beta1

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Attachments

(1 file)

From bug 394548 comment #27: 1) warning about undefined behavior of multiple "i++" on the same line 3) main issue: DB tracks -1 as the max size when resuming, but the UI is fine
This patch is r+ sdwilsh
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #283110 - Flags: approval1.9?
Attachment #283110 - Flags: approval1.9? → approval1.9+
Checking in toolkit/components/downloads/src/nsDownloadManager.cpp; /cvsroot/mozilla/toolkit/components/downloads/src/nsDownloadManager.cpp,v <-- nsDownloadManager.cpp new revision: 1.133; previous revision: 1.132 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M9
Edward: is there a Litmus-based testcase for this? In comment 0, you say that "the UI is fine"; would this show up as corrupt downloads for larger files?
Well, you could query the DB with something like the mozstorage explorer extension. I can't think of something from a vanilla install of trunk.
hey - you are supposed to set the flags when you checkin :p
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Flags: in-litmus-
(In reply to comment #5) > hey - you are supposed to set the flags when you checkin :p Yes, he is, except not "verified," :-)
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Except that I actually meant to verify that it was fixed!
My bad, dude; restoring flag :-)
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: