[Pkg-mozext-commits] [tabmixplus] 89/107: Follow up bug 1187357 - rename referrer policy attribute in frontend code
David Prévot
taffit at moszumanska.debian.org
Tue Dec 29 19:02:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 7b9a95baa2d3ff01357a69a9005bad23a91d4353
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu Dec 3 22:14:27 2015 +0200
Follow up bug 1187357 - rename referrer policy attribute in frontend code
---
chrome/content/content.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/content.js b/chrome/content/content.js
index 924898f..04747b6 100644
--- a/chrome/content/content.js
+++ b/chrome/content/content.js
@@ -216,7 +216,7 @@ var TabmixClickEventHandler = {
Services.prefs.getBoolPref("network.http.enablePerElementReferrer") &&
node) {
let referrerAttrValue = Services.netUtils.parseAttributePolicyString(node.
- getAttribute("referrer"));
+ getAttribute(TabmixSvc.version(450) ? "referrerpolicy" : "referrer"));
if (referrerAttrValue !== Ci.nsIHttpChannel.REFERRER_POLICY_DEFAULT) {
referrerPolicy = referrerAttrValue;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list