Closed Bug 1073184 Opened 10 years ago Closed 7 years ago

Update nsDownloadManager.cpp to use document-provided referrer policies

Categories

(Toolkit :: Downloads API, defect, P2)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: geekboy, Unassigned, Mentored)

References

Details

Attachments

(1 file)

Bug 704320 introduces referrer policies for HTTP connections (allowing referring sites to limit the amount of data sent to other loads like downloads or subresources).  The legacy download manager (nsDownloadManager.cpp) needs to be patched to properly use these referrer policies if we want something other than the default behavior.  In bug 704320, only the default referrer policy is used by nsDownloadManager.cpp.

I'm attaching a quick prototype patch that could probably work, but it needs tests.
Priority: -- → P2
Whiteboard: domsecurity-backlog1
Whiteboard: domsecurity-backlog1
nsDownloadProxy is unreachable since bug 1364050 and bug 1114624 landed. Channel and referrer things are removed in this class. Close this bug
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: