Closed Bug 406923 Opened 17 years ago Closed 17 years ago

Just started downloads don't know about their referrers until reopened

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9beta3

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Attachments

(1 file)

1) http://www.mozilla.com
2) Right click "Add-ons" (top) and "Save link as" (it's a mozilla.org link)
3) Save file

When it finishes, the TLD shows up as mozilla.org. Close/reopen dlmgr and it says mozilla.com.

Expected: mozilla.com both times

This affects bugs like bug 403674 for in-progress and newly finished downloads before you close/reopen.
Flags: in-litmus?
No longer depends on: 392097
Attached patch v1Splinter Review
Set the referrer if we get it on a state change.. DOWNLOADING or another.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #291607 - Flags: review?(comrade693+bmo)
Comment on attachment 291607 [details] [diff] [review]
v1

r=sdwilsh
Attachment #291607 - Flags: review?(comrade693+bmo)
Attachment #291607 - Flags: review+
Attachment #291607 - Flags: approval1.9?
Attachment #291607 - Flags: approval1.9? → approval1.9+
Checking in toolkit/mozapps/downloads/content/DownloadProgressListener.js;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/DownloadProgressListener.js,v  <--  DownloadProgressListener.js
new revision: 1.32; previous revision: 1.31
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
Verified FIXED using:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2007121802
Minefield/3.0b3pre

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre)
Gecko/2007121801 Minefield/3.0b3pre

and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007121802
Minefield/3.0b3pre

Testcase in comment 0 always reflects the referrer--"mozilla.com".
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: