Closed Bug 1429144 Opened 7 years ago Closed 7 years ago

Policy: Don't remember search and form history

Categories

(Firefox :: Enterprise Policies, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 60
Tracking Status
firefox60 --- verified

People

(Reporter: Felipe, Assigned: Felipe)

References

Details

Attachments

(1 file)

Policy: Don't remember search and form history (i.e., disable form autofill) This is controlled by the browser.formfill.enable pref
The pref that you mention is for form history, not Form Autofill. Should this policy disable both?
I've checked that locking the pref does the right thing in about:preferences: It changes the history dropdown to "custom settings", and grays out the form history checkbox.
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Summary: Policy: Don't remember search and form history (i.e., disable form autofill) → Policy: Don't remember search and form history
Comment on attachment 8949150 [details] Bug 1429144 - Policy: Don't remember search and form history. https://reviewboard.mozilla.org/r/218548/#review224360 ::: browser/components/enterprisepolicies/Policies.jsm:105 (Diff revision 2) > } > }, > > + "DisableFormHistory": { > + onBeforeUIStartup(manager, param) { > + if (param == true) { What is the point in comparing to true with == when you can just do `if (param) {`?
Attachment #8949150 - Flags: review?(MattN+bmo) → review+
Comment on attachment 8949150 [details] Bug 1429144 - Policy: Don't remember search and form history. https://reviewboard.mozilla.org/r/218548/#review224368 ::: browser/components/enterprisepolicies/Policies.jsm:105 (Diff revision 2) > } > }, > > + "DisableFormHistory": { > + onBeforeUIStartup(manager, param) { > + if (param == true) { not really much point.. I guess it helps make it easier to understand what's the type of this variable here, since "param" is a generic name, and can have other types for other policies. But it's not common on our codebase for sure, so I wonder if I should drop that.. Almost all policies have used this style
Pushed by felipc@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5ee280615e45 Policy: Don't remember search and form history. r=MattN
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
In this bug, we tested the "form history" policy only. As we discussed with the developer, Felipe, the current work does not include 'do not remember search'. It is verified manually as fixed using JSON file. The bug will also be retested with ADMX files when it is ready for testing. Test steps and runs are available here: https://testrail.stage.mozaws.net/index.php?/plans/view/7734
We retested this on beta builds[FX60] with ADM and JSON policy formats and it is verified as fixed. Test cases and runs are here- https://testrail.stage.mozaws.net/index.php?/plans/view/8760
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: