diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-04-14 00:32:14 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-04-14 00:32:14 +0300 |
commit | 7494a278ae7ec40f82979e182bf7c1c72c22b4df (patch) | |
tree | 5ba66da125af2357e836313d595b4069fc2bb026 /application/palemoon/base/content/browser.js | |
parent | 501db456d4d84a9345374e9b15775f6e10883a41 (diff) | |
download | UXP-7494a278ae7ec40f82979e182bf7c1c72c22b4df.tar UXP-7494a278ae7ec40f82979e182bf7c1c72c22b4df.tar.gz UXP-7494a278ae7ec40f82979e182bf7c1c72c22b4df.tar.lz UXP-7494a278ae7ec40f82979e182bf7c1c72c22b4df.tar.xz UXP-7494a278ae7ec40f82979e182bf7c1c72c22b4df.zip |
Use document's principal for favicons in browser
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r-- | application/palemoon/base/content/browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 6af11af3d..b2d260101 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -2849,7 +2849,7 @@ const DOMLinkHandler = { break; let tab = gBrowser.tabs[browserIndex]; - gBrowser.setIcon(tab, uri.spec); + gBrowser.setIcon(tab, uri.spec, link.ownerDocument.nodePrincipal); iconAdded = true; } break; |