mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Backed out changeset 479097530e46 (bug 1586913) for failing at test_login_item.html on a CLOSED TREE.
This commit is contained in:
parent
99a0148a26
commit
cdc7c1a8dd
@ -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);
|
||||
|
@ -411,9 +411,6 @@ var AboutLoginsParent = {
|
||||
syncState,
|
||||
selectedBadgeLanguages,
|
||||
masterPasswordEnabled: LoginHelper.isMasterPasswordSet(),
|
||||
passwordRevealVisible: Services.policies.isAllowed(
|
||||
"passwordReveal"
|
||||
),
|
||||
});
|
||||
|
||||
await this._sendAllLoginRelatedObjects(logins, messageManager);
|
||||
|
@ -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";
|
||||
|
@ -450,14 +450,6 @@ var Policies = {
|
||||
},
|
||||
},
|
||||
|
||||
DisablePasswordReveal: {
|
||||
onBeforeUIStartup(manager, param) {
|
||||
if (param) {
|
||||
manager.disallowFeature("passwordReveal");
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
DisablePocket: {
|
||||
onBeforeAddons(manager, param) {
|
||||
if (param) {
|
||||
|
@ -211,10 +211,6 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisablePasswordReveal": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"DisablePocket": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
@ -54,8 +54,6 @@ policy-DisableFormHistory = Don’t remember search and form history.
|
||||
|
||||
policy-DisableMasterPasswordCreation = If true, a master password can’t 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.
|
||||
|
Loading…
Reference in New Issue
Block a user