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-06 12:22:59 +00:00
parent 31da716a19
commit a614570fca
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);