Bug 1721146 - Fix Missing ReferrerInfo on Blocked Downloads r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D121608
This commit is contained in:
Sebastian Streich
2021-08-04 12:41:16 +00:00
parent fd94ff77cb
commit dcf8a75022
7 changed files with 41 additions and 11 deletions

View File

@@ -454,7 +454,8 @@ function internalPersist(persistArgs) {
null,
persist,
persistArgs.isPrivate,
Ci.nsITransfer.DOWNLOAD_ACCEPTABLE
Ci.nsITransfer.DOWNLOAD_ACCEPTABLE,
persistArgs.sourceReferrerInfo
);
persist.progressListener = new DownloadListener(window, tr);