diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /browser/components/distribution.sys.mjs | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/distribution.sys.mjs')
-rw-r--r-- | browser/components/distribution.sys.mjs | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/browser/components/distribution.sys.mjs b/browser/components/distribution.sys.mjs index 369de15ab2..f58fd7a419 100644 --- a/browser/components/distribution.sys.mjs +++ b/browser/components/distribution.sys.mjs @@ -247,21 +247,10 @@ DistributionCustomizer.prototype = { if (item.icon && item.iconData) { try { - let faviconURI = Services.io.newURI(item.icon); - lazy.PlacesUtils.favicons.replaceFaviconDataFromDataURL( - faviconURI, - item.iconData, - 0, - Services.scriptSecurityManager.getSystemPrincipal() - ); - - lazy.PlacesUtils.favicons.setAndFetchFaviconForPage( + lazy.PlacesUtils.favicons.setFaviconForPage( Services.io.newURI(item.link), - faviconURI, - false, - lazy.PlacesUtils.favicons.FAVICON_LOAD_NON_PRIVATE, - null, - Services.scriptSecurityManager.getSystemPrincipal() + Services.io.newURI(item.icon), + Services.io.newURI(item.iconData) ); } catch (e) { console.error(e); |