Commit Graph

480 Commits

Author SHA1 Message Date
Valentin Gosu
912d6e0627 Bug 1732961 - Add test that setting DNSOverHTTPS policy is reflected in about:preferences r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D126959
2021-09-30 11:58:51 +00:00
Marian-Vasile Laza
0a0ee7e87b Backed out changeset 5ea8b71cc631 (bug 1717917) because it shouldn't have landed on autoland. CLOSED TREE 2021-09-27 19:30:15 +03:00
Sebastian Hengst
73ef5b11f9 Bug 1717917 - disable browser/components/preferences/tests/ for Windows 32-bit opt. r=Gijs,preferences-reviewers DONTBUILD
The tests frequently experienced out of memory issues and the fix won't be
backported to ESR91.

Differential Revision: https://phabricator.services.mozilla.com/D126700
2021-09-27 16:07:07 +00:00
Tim Huang
f51b8560a6 Bug 1664995 - Part 5: Add tests for OCSP partitioning flag of strict mode. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D124472
2021-09-16 09:20:41 +00:00
Drew Willcoxon
191e4aff78 Bug 1730702 - When switching to an already open but lazy/unloaded about:preferences tab and highlighting a section in it, wait for it to load first. r=dao
When switching to an already open but lazy/unloaded about:preferences tab and
highlighting a section in it, wait for it to load first.

Differential Revision: https://phabricator.services.mozilla.com/D125628
2021-09-15 15:01:37 +00:00
Tim Huang
c7b21ac4fa Bug 1729045 - Part 2: Update test browser_contentblocking.js. r=johannh
The test browser_contentblocking.js needs to be updated to reflect the
change that we no longer set pref in the ETP custom mode.

Differential Revision: https://phabricator.services.mozilla.com/D124904
2021-09-13 11:29:19 +00:00
Drew Willcoxon
451009454c Bug 1729587 - Tweaks to the Firefox Suggest preferences UI. r=mak,preferences-reviewers,jaws,fluent-reviewers
Per spec, the informational description about data collection under the main
Firefox Suggest checkbox should be hidden except for the "online" scenario,
since only the online scenario sends data to Mozilla.

We're also changing the two checkbox labels and adding another description under
the sponsored checkbox.

Depends on D125024

Differential Revision: https://phabricator.services.mozilla.com/D125031
2021-09-11 02:27:38 +00:00
Drew Willcoxon
b68bffd897 Bug 1729776 - Enable the Firefox Suggest "offline" scenario by default for users in the US region with en-* locales. r=mythmon,daleharvey,mak
Enable the Firefox Suggest "offline" scenario by default for users in the US
region with en-* locales.

Previously we relied on Nimbus to enable the offline scenario, and the goal here
is to make it permanent for all users in the US `home` region using en-* locales
so that we don't need Nimbus for it anymore.

With Nimbus, there were two essential mechanisms that restricted the scenario to
the desired population: the `browser.urlbar.quicksuggest.enabled` pref, which is
a global toggle for Firefox Suggest suggestions regardless of region and locale,
and a Nimbus recipe that enabled the pref for US en-* users only.

Without Nimbus, we have only the `browser.urlbar.quicksuggest.enabled` pref. We
can't rely on a server-side solution to target a specific population, so we need
to do it in the client. This patch keeps the default `false` value of
`browser.urlbar.quicksuggest.enabled` in firefox.js, and then it sets a new
default-branch value for the pref for the US en-* population on app startup.

There's actually a set of prefs related to the offline scenario that need to be
set, not only `browser.urlbar.quicksuggest.enabled`.

Depends on D124943

Differential Revision: https://phabricator.services.mozilla.com/D125024
2021-09-11 02:27:38 +00:00
Drew Willcoxon
85983d13bf Bug 1728430 - Part 2: Update the Firefox Suggest preferences UI. r=mak
This implements the spec in https://mozilla-hub.atlassian.net/browse/SNT-26, but
Natalie and I have made some tweaks over Slack that aren't reflected in that
ticket.

We want to move the Firefox Suggest preferences from the Search pane to the
Address Bar section of the Privacy pane. There are now two Firefox Suggest
checkboxes instead of one: a main one that enables Firefox Suggest suggestions
and another one that enables sponsored suggestions separately. If the main one
is checked but the sponsored one isn't, then the user will see only
non-sponsored suggestions.

I renamed and modified the browser_searchQuickSuggest.js test I added in
D105701, but a lot of the test changed and it's probably not helpful to look at
the diff against the old version.

Previously strings were hardcoded in search.js. I've added the new ones to the
new preview Fluent file for Firefox Suggest.

Depends on D124300

Differential Revision: https://phabricator.services.mozilla.com/D124431
2021-09-06 18:56:11 +00:00
Mark Banner
1817e82737 Bug 1602940 - Automated replacements to use Services.uuid. r=Gijs,necko-reviewers,preferences-reviewers,kershaw
Depends on D124391

Differential Revision: https://phabricator.services.mozilla.com/D124392
2021-09-06 09:53:52 +00:00
Tim Huang
be4bde2ee6 Bug 1727505 - Part 2: Modify tests to test referrer policy flag for strict and custom mode. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D123770
2021-09-01 18:35:05 +00:00
Michelle Goossens
015f8eeba2 Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Gijs Kruitbosch
95731af1ca Bug 1676524 - fix intermittent failures in browser_experimental_features_filter.js due to fluent races r=emilio
The test overwrites a fluent-originating text content with its own,
but doesn't clear the fluent data-l10n-id attribute. As a result,
if it tries to write the textContent before the data-l10n-id pass
from fluent has run, fluent overwrites the textContent before we
do a search, and then the rest of the test gets bogus results
because it matches against the wrong text content.

This patch fixes this by removing the data-l10n-id attribute so
the fluent pass doesn't try to put text in these elements
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D122659
2021-08-16 12:57:29 +00:00
Paul Zuehlcke
21b56438f3 Bug 1721665 - Do not overwrite private browsing permission lifetime when removing permissions. r=timhuang,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D121749
2021-08-09 14:46:07 +00:00
Jon Bauman
575d6f70ff Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121819
2021-08-05 15:48:00 +00:00
Ava Katushka ava8katushka
e78cfd2c09 Bug 1719901 - Show "Save as dialog" instead of "Unknown Content" dialog. r=mtigley,Gijs,preferences-reviewers
Also solves 1719902 - the default system action is changed from "opening with file" to saving.

Differential Revision: https://phabricator.services.mozilla.com/D120839
2021-08-03 20:42:21 +00:00
Zibi Braniecki
09b292bd73 Bug 1613705 - [localization] part16: Fix preferences language menu selection test. r=platform-i18n-reviewers,dminor
Depends on D116755

Differential Revision: https://phabricator.services.mozilla.com/D116791
2021-08-03 16:25:16 +00:00
Butkovits Atila
704b42a2a2 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE
Backed out changeset 2ee1091dd20d (bug 1613705)
Backed out changeset d377afc0b09f (bug 1613705)
Backed out changeset de9d4378f0ac (bug 1613705)
Backed out changeset 9843372abb6e (bug 1613705)
Backed out changeset 5fc5918e5905 (bug 1613705)
Backed out changeset a7aeae7afd49 (bug 1613705)
Backed out changeset 5d61617a5402 (bug 1613705)
Backed out changeset 85bf98573899 (bug 1613705)
Backed out changeset 175af8a1b8c2 (bug 1613705)
Backed out changeset 93fcb23d7898 (bug 1613705)
Backed out changeset 595529cd906f (bug 1613705)
Backed out changeset 9f3e2963d925 (bug 1613705)
Backed out changeset 442289058933 (bug 1613705)
Backed out changeset fc3b9acb0e81 (bug 1613705)
Backed out changeset 408983c64f7f (bug 1613705)
Backed out changeset 08b637fc3fcd (bug 1613705)
Backed out changeset 6ef0aafd2db0 (bug 1613705)
Backed out changeset d88b294e0a5e (bug 1613705)
Backed out changeset e6bebff87544 (bug 1613705)
2021-08-03 12:36:01 +03:00
Zibi Braniecki
6dc7c1f955 Bug 1613705 - [localization] part16: Fix preferences language menu selection test. r=platform-i18n-reviewers,dminor
Depends on D116755

Differential Revision: https://phabricator.services.mozilla.com/D116791
2021-08-03 05:52:06 +00:00
Zibi Braniecki
c1e23afddd Bug 1672317 - [l10nfilesource] part4: Fix preferences browser_languages_subdialog.js text to be not racy. r=preferences-reviewers,Gijs
Depends on D103002

Differential Revision: https://phabricator.services.mozilla.com/D105391
2021-07-29 21:30:26 +00:00
Noemi Erli
2a02eb86c7 Backed out 9 changesets (bug 1672317) for causing toolchain bustages
Backed out changeset c7d16d1bbf56 (bug 1672317)
Backed out changeset 8367ff19d3ba (bug 1672317)
Backed out changeset cce54c20ec3c (bug 1672317)
Backed out changeset a5d67460e7bb (bug 1672317)
Backed out changeset b78f3e332d57 (bug 1672317)
Backed out changeset 3e84f9a521f4 (bug 1672317)
Backed out changeset 1aaa22cf7c13 (bug 1672317)
Backed out changeset d850981cf33c (bug 1672317)
Backed out changeset 944805ef4561 (bug 1672317)
2021-07-30 00:19:40 +03:00
Zibi Braniecki
b4180d19f8 Bug 1672317 - [l10nfilesource] part4: Fix preferences browser_languages_subdialog.js text to be not racy. r=preferences-reviewers,Gijs
Depends on D103002

Differential Revision: https://phabricator.services.mozilla.com/D105391
2021-07-29 17:31:52 +00:00
Christoph Kerschbaumer
5ee0a6a910 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Sandor Molnar
5e383dfda4 Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE 2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer
8fef13ba13 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Florian Quèze
e86e9595a9 Bug 1722561 - Avoid calling document.querySelectorAll repeatedly when loading about:preferences, r=Gijs,preferences-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D120995
2021-07-28 11:21:13 +00:00
Stefan Zabka
21be4bf64f Bug 1715499 - Display special dialogue for single base domain r=pbz,fluent-reviewers,preferences-reviewers,flod,Gijs,jaws
Differential Revision: https://phabricator.services.mozilla.com/D118729
2021-07-20 18:52:03 +00:00
Nihanth Subramanya
82c454db85 Bug 1720379 - Clear TRR mode and URI prefs after tests that accept the Connection Settings dialog. r=preferences-reviewers,Gijs
Depends on D119877

Differential Revision: https://phabricator.services.mozilla.com/D120101
2021-07-16 18:25:55 +00:00
Nihanth Subramanya
aaa460993f Bug 1720379 - Also write TRR mode if we write the TRR URI when accepting Connection Settings dialog. r=preferences-reviewers,Gijs
We treat clicking "Accept" as a user-choice even if no settings were changed.
We should persist both the TRR mode and URI that were visible in the dialog
at the time of acceptance of the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D119877
2021-07-16 18:25:55 +00:00
Alexandru Michis
16ededf757 Backed out changeset ce1ef542fb6c (bug 1720379) for causing bc failures in browser_connection_dnsoverhttps.js
CLOSED TREE
2021-07-16 19:56:17 +03:00
Nihanth Subramanya
6da08708bc Bug 1720379 - Also write TRR mode if we write the TRR URI when accepting Connection Settings dialog. r=preferences-reviewers,Gijs
We treat clicking "Accept" as a user-choice even if no settings were changed.
We should persist both the TRR mode and URI that were visible in the dialog
at the time of acceptance of the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D119877
2021-07-16 16:05:34 +00:00
Matthew Noorenberghe
dcd8e276b4 Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 15:04:23 +00:00
Noemi Erli
3b5816e7f2 Backed out 3 changesets (bug 970675) for causing failures in browser_privatebrowsing_popupblocker.js CLOSED TREE
Backed out changeset 98f78b0795b7 (bug 970675)
Backed out changeset ec59b5b4094a (bug 970675)
Backed out changeset 5a1853ea9693 (bug 970675)
2021-07-12 17:38:14 +03:00
Matthew Noorenberghe
0a4bdbde1f Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 13:53:44 +00:00
Paul Zuehlcke
87e75fd596 Bug 1712170 - Update preferences siteData dialog to list entries by base domain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116863
2021-07-06 21:11:00 +00:00
Gijs Kruitbosch
7217c17e63 Bug 1677652 - request a longer timeout for tsan and debug runs of browser_cookie_exceptions_addRemove.js, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119077
2021-07-05 11:42:37 +00:00
Ava Katushka ava8katushka
12889864b2 Bug 1716564 Add test for saving files with download preferences r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117914
2021-06-25 17:11:56 +00:00
Nihanth Subramanya
9cf010bc4d Bug 1718097 - Use DoHConfigController.currentConfig.enabled instead of doh-rollout.enabled in about:preferences. r=preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D118752
2021-06-24 21:26:47 +00:00
Narcis Beleuzu
eef04e4c4d Backed out changeset 21bf8384ddfa (bug 1716564) for bc failures on browser_open_download_preferences.js 2021-06-24 04:50:02 +03:00
Nihanth Subramanya
c0a7d41797 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 23:28:16 +00:00
Ava Katushka ava8katushka
2415b97e15 Bug 1716564 Add test for saving files with download preferences r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117914
2021-06-23 20:37:14 +00:00
Dorel Luca
c0d5cda63d Backed out 2 changesets (bug 1713036, bug 1714486) for XPCshell failures in netwerk/test/unit/test_trr.js. CLOSED TREE
Backed out changeset 06c40198b074 (bug 1713036)
Backed out changeset 41800e77c675 (bug 1714486)
2021-06-23 23:02:46 +03:00
Nihanth Subramanya
8796d95833 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 15:24:01 +00:00
Cosmin Sabou
cb3fbb9a1f Backed out 3 changesets (bug 1714486, bug 1713036) for xpcshell failures on test_trr.js. CLOSED TREE
Backed out changeset 5161c4f25f80 (bug 1713036)
Backed out changeset 6ce07df62710 (bug 1713036)
Backed out changeset c824fe9b4adb (bug 1714486)
2021-06-23 08:00:36 +03:00
Nihanth Subramanya
2c72a2f1e1 Bug 1713036 - Fix some test failures. a=fix
CLOSED TREE

Ensure we only remove the DoH config update observer once in the connection dialog code.
await resetPrefs when cleaning up in the dialog test - it's an async function.
Don't forget to reset the regional pref in browser_remoteSettings_newProfile.js
Use the new default provider pref in test_trr_confirmation.js
2021-06-23 06:51:54 +03:00
Nihanth Subramanya
e9f9bc9d31 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 02:29:19 +00:00
Mathew Hodson
0bde1e173b Bug 1716982 - Use BrowserTestUtils.waitForEvent in preferences tests. r=Standard8,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118254
2021-06-21 16:17:48 +00:00
Ava Katushka ava8katushka
7303a19f0c Bug 1716521 - Fix typo in the test for browser_application_selection.js. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117745
2021-06-17 15:33:56 +00:00
Chris Peterson
b1122f08d5 Bug 1713898 - Remove unnecessary skip-if = fission from browser_experimental_features_filter.js test. r=ahal,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116889
2021-06-04 21:06:03 +00:00
Andrew Halberstadt
cbd804bdc5 Bug 1694824 - [ci] Annotate browser-chrome manifests for new fission failures, r=jmaher,extension-reviewers,preferences-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D116276
2021-06-02 19:22:25 +00:00