Bug 1497523 - Link to '#privacy-form-autofill' prefs instead of '#privacy' from autofill. r=jaws

Differential Revision: https://phabricator.services.mozilla.com/D8599

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Matthew Noorenberghe 2018-10-16 17:47:38 +00:00
parent 17b8e17272
commit 2e09e09822
3 changed files with 3 additions and 3 deletions

View File

@ -239,7 +239,7 @@ let FormAutofillDoorhanger = {
let privacyLinkElement = chromeDoc.createXULElement("label");
privacyLinkElement.className = "text-link";
privacyLinkElement.setAttribute("useoriginprincipal", true);
privacyLinkElement.setAttribute("href", link || "about:preferences#privacy");
privacyLinkElement.setAttribute("href", link || "about:preferences#privacy-form-autofill");
privacyLinkElement.setAttribute("value", message);
content.appendChild(privacyLinkElement);
},

View File

@ -247,7 +247,7 @@ FormAutofillParent.prototype = {
}
case "FormAutofill:OpenPreferences": {
const win = BrowserWindowTracker.getTopWindow();
win.openPreferences("panePrivacy", {origin: "autofillFooter"});
win.openPreferences("privacy-form-autofill", {origin: "autofillFooter"});
break;
}
case "FormAutofill:GetDecryptedString": {

View File

@ -159,7 +159,7 @@
return;
}
window.openPreferences("panePrivacy", {origin: "autofillFooter"});
window.openPreferences("privacy-form-autofill", {origin: "autofillFooter"});
]]></handler>
</handlers>