Backed out changeset 479097530e46 (bug 1586913) for failing at test_login_item.html on a CLOSED TREE.

This commit is contained in:
Gurzau Raul 2019-10-09 21:16:58 +03:00
parent 99a0148a26
commit cdc7c1a8dd
6 changed files with 0 additions and 28 deletions

View File

@ -69,7 +69,6 @@ class AboutLoginsChild extends ActorChild {
},
// Default to enabled just in case a search is attempted before we get a response.
masterPasswordEnabled: true,
passwordRevealVisible: true,
};
waivedContent.AboutLoginsUtils = Cu.cloneInto(
AboutLoginsUtils,
@ -227,8 +226,6 @@ class AboutLoginsChild extends ActorChild {
this.sendToContent("Setup", message.data);
Cu.waiveXrays(this.content).AboutLoginsUtils.masterPasswordEnabled =
message.data.masterPasswordEnabled;
Cu.waiveXrays(this.content).AboutLoginsUtils.passwordRevealVisible =
message.data.passwordRevealVisible;
break;
case "AboutLogins:ShowLoginItemError":
this.sendToContent("ShowLoginItemError", message.data);

View File

@ -411,9 +411,6 @@ var AboutLoginsParent = {
syncState,
selectedBadgeLanguages,
masterPasswordEnabled: LoginHelper.isMasterPasswordSet(),
passwordRevealVisible: Services.policies.isAllowed(
"passwordReveal"
),
});
await this._sendAllLoginRelatedObjects(logins, messageManager);

View File

@ -727,14 +727,6 @@ export default class LoginItem extends HTMLElement {
}
_updatePasswordRevealState() {
if (
window.AboutLoginsUtils &&
!window.AboutLoginsUtils.passwordRevealVisible
) {
this._revealCheckbox.hidden = true;
return;
}
let titleId = this._revealCheckbox.checked
? "login-item-password-reveal-checkbox-hide"
: "login-item-password-reveal-checkbox-show";

View File

@ -450,14 +450,6 @@ var Policies = {
},
},
DisablePasswordReveal: {
onBeforeUIStartup(manager, param) {
if (param) {
manager.disallowFeature("passwordReveal");
}
},
},
DisablePocket: {
onBeforeAddons(manager, param) {
if (param) {

View File

@ -211,10 +211,6 @@
"type": "boolean"
},
"DisablePasswordReveal": {
"type": "boolean"
},
"DisablePocket": {
"type": "boolean"
},

View File

@ -54,8 +54,6 @@ policy-DisableFormHistory = Dont remember search and form history.
policy-DisableMasterPasswordCreation = If true, a master password cant be created.
policy-DisablePasswordReveal = Do not allow passwords to be revealed in saved logins.
policy-DisablePocket = Disable the feature to save webpages to Pocket.
policy-DisablePrivateBrowsing = Disable Private Browsing.