From 8eaddd8c3d17be80554322148e8ad95e040ff89a Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 6 May 2020 13:24:30 -0700 Subject: [PATCH] Set OfferToSaveLogins policy to false in Firefox config This seems to work around the Firefox 76 bug with password entry sometimes breaking: https://bugzilla.mozilla.org/show_bug.cgi?id=1635833 Signed-off-by: Adam Williamson --- lib/utils.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index b4c3377d..49207476 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -398,8 +398,11 @@ sub disable_firefox_studies { # create a config file that disables Firefox's dumb 'shield # studies' so they don't break tests: # https://bugzilla.mozilla.org/show_bug.cgi?id=1529626 + # and also disables the password manager stuff so that doesn't + # break password entry: + # https://bugzilla.mozilla.org/show_bug.cgi?id=1635833 assert_script_run 'mkdir -p $(rpm --eval %_libdir)/firefox/distribution'; - assert_script_run 'printf \'{"policies": {"DisableFirefoxStudies": true}}\' > $(rpm --eval %_libdir)/firefox/distribution/policies.json'; + assert_script_run 'printf \'{"policies": {"DisableFirefoxStudies": true, "OfferToSaveLogins": false}}\' > $(rpm --eval %_libdir)/firefox/distribution/policies.json'; } sub repos_mirrorlist {