mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
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:
parent
17b8e17272
commit
2e09e09822
@ -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);
|
||||
},
|
||||
|
@ -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": {
|
||||
|
@ -159,7 +159,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
window.openPreferences("panePrivacy", {origin: "autofillFooter"});
|
||||
window.openPreferences("privacy-form-autofill", {origin: "autofillFooter"});
|
||||
]]></handler>
|
||||
</handlers>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user