diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-23 01:27:02 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-23 01:27:02 +0000 |
commit | ef27fbe1e5e4e5f51764b372d23619d6b77f9464 (patch) | |
tree | dee1d455697b2ee79935620bd463dc3f28f9981b | |
parent | 72c45cbe41efade56ca4f012bec551fc00a6f5d0 (diff) | |
download | basilisk-ef27fbe1e5e4e5f51764b372d23619d6b77f9464.tar.gz |
[downloads] Stop using referrers as sources
-rw-r--r-- | basilisk/components/downloads/DownloadsViewUI.jsm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basilisk/components/downloads/DownloadsViewUI.jsm b/basilisk/components/downloads/DownloadsViewUI.jsm index 3b0e4c1..26b756f 100644 --- a/basilisk/components/downloads/DownloadsViewUI.jsm +++ b/basilisk/components/downloads/DownloadsViewUI.jsm @@ -247,8 +247,7 @@ this.DownloadsViewUI.DownloadElementShell.prototype = { stateLabel = s.stateFailed; } - let referrer = this.download.source.referrer || this.download.source.url; - let [displayHost, fullHost] = DownloadUtils.getURIHost(referrer); + let [displayHost, fullHost] = DownloadUtils.getURIHost(this.download.source.url); let date = new Date(this.download.endTime); let [displayDate, fullDate] = DownloadUtils.getReadableDates(date); |