mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
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 <awilliam@redhat.com>
This commit is contained in:
parent
e67d3e7c01
commit
8eaddd8c3d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user