1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

Try and disable yet another Firefox popup that breaks tests

See https://bugzilla.mozilla.org/show_bug.cgi?id=1703903#c9 and
comment #13 for this one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-05-19 14:54:54 -07:00
parent 18f6b0863e
commit 7ee3a91ffc

View File

@ -423,6 +423,10 @@ sub disable_firefox_studies {
# it's not at all clear from the code which of these actually gets
# used, so we set them all just in case
assert_script_run 'printf "pref(\'browser.urlbar.quicksuggest.shouldShowOnboardingDialog\', false);\npref(\'quickSuggestShouldShowOnboardingDialog\', false);\npref(\'browser.urlbar.quickSuggestShouldShowOnboardingDialog\', false);" > $(rpm --eval %_libdir)/firefox/browser/defaults/preferences/openqa-overrides.js';
# and disable the "Automated Cookie Protection" thing that showed
# up in Firefox 100 (thanks Ed Lee):
# https://bugzilla.mozilla.org/show_bug.cgi?id=1703903#c9
assert_script_run 'echo "pref(\'privacy.restrict3rdpartystorage.rollout.enabledByDefault\', false);" >> $(rpm --eval %_libdir)/firefox/browser/defaults/preferences/openqa-overrides.js';
}
sub repos_mirrorlist {