Commit Graph

480 Commits

Author SHA1 Message Date
Shane Hughes
0604bb580c Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-15 18:13:11 +00:00
Mike Kaply
f63f640b03 Bug 1520913 - Allow password manager exceptions in policy. r=mstriemer,fluent-reviewers,flod,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142886
2022-04-14 19:41:32 +00:00
Paul Zuehlcke
8348f10f2b Bug 1741597 - Revert cookie behavior to initial default value when dFPI rollout pref is set to false. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D131348
2022-04-14 16:32:34 +00:00
Neil Deakin
2f56ba879f Bug 1759984, always show pdf in applications list even when the internal pdf viewer is disabled, r=Gijs,preferences-reviewers
In addition, if someone has pdf set to open internally but then disables the pdf viewer, an error occurs when trying to view a pdf. Handle this case by just asking what to do.

Differential Revision: https://phabricator.services.mozilla.com/D143313
2022-04-12 16:02:28 +00:00
Punam Dahiya
c34f55fcf7 Bug 1751093 - Clean up Cloud Storage API and its usage in about:preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137248
2022-04-07 10:17:13 +00:00
Gijs Kruitbosch
edda40141b Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay
e1d7571cc8 Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
1214ac636b Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Tim Huang
64d37cf5f0 Bug 1734328 - Part 4: Add disallow relaxing referrer policies for top navigation to the ETP strict list. r=anti-tracking-reviewers,preferences-reviewers,pbz
This patch effectively enables the disallow relaxing referrer policies
for top navigations in ETP strict mode. It adds a ETP strict flag 'rpTop'
and set it in the strict feature list.

Differential Revision: https://phabricator.services.mozilla.com/D141869
2022-03-28 10:32:52 +00:00
cboozarjomehri
a9959d7626 Bug 1685575 - Removing browser.contentblocking.state-partitioning.mvp.ui.enabled because it’s always set to true. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D140648
2022-03-22 12:47:49 +00:00
Emilio Cobos Álvarez
731cdda4e6 Bug 1736218 - Implement website appearance chooser. r=Gijs,fluent-reviewers,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140223
2022-03-17 14:44:04 +00:00
Emilio Cobos Álvarez
5e9172396b Bug 1736218 - Split "Fonts and Colors" into two sections in about:preferences. r=Gijs,fluent-reviewers,preferences-reviewers,dao,flod
As per the UX design.

Differential Revision: https://phabricator.services.mozilla.com/D140222
2022-03-17 14:44:04 +00:00
Mark Banner
7ea3c792f2 Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
Katherine Patenio
5e5f94c8e9 Bug 1507619 - Simplified the extension-controlled preference notice. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111292
2022-03-10 19:06:04 +00:00
Barret Rennie
74863e78e6 Bug 1753369 - Use sync PathUtils directory getters on mainthread in browser/components/preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140132
2022-03-10 15:16:39 +00:00
smolnar
19781d16c7 Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner
de1754318e Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Jared Wein
73c271b8e4 Bug 1667220 - Extend the timeout request on browser_connection_dnsoverhttps.js in lieu of splitting it up. r=sfoster,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D139754
2022-03-03 22:33:28 +00:00
Drew Willcoxon
58193098f4 Bug 1756162 - Make the visibility of the "Top Pick" checkbox depend entirely on whether the best match feature is enabled. r=preferences-reviewers,Gijs
We've made a few changes to this "Top pick" checkbox recently based on shifting
Product requirements, and the problem here is that the checkbox used to be
inside the Firefox Suggest container, but we recently moved it outside the
container. The Firefox Suggest container is properly hidden or shown depending
on whether the Suggest feature is enabled, so when the checkbox was inside the
container and Suggest was disabled, the checkbox properly got hidden too. Now
that the checkbox is outside that container, its visibility needs to entirely
depend on whether the best match feature is enabled.

So all this revision does is move the checkbox's `hidden` assignment from inside
the "is Suggest enabled" if-block to outside the if-block. It also sets
`hidden=true` on the checkbox in the markup for good measure.

I also improved the test so it checks every combination of enabled statuses
between the Suggest and best match features.

Depends on D138987

Differential Revision: https://phabricator.services.mozilla.com/D139161
2022-02-23 19:03:32 +00:00
smolnar
211e017f6d Backed out changeset 2316e8b1ed0e (bug 1756162) on landed wrong patch. a=backout CLOSED TREE 2022-02-23 18:55:11 +02:00
Drew Willcoxon
be3aec58a7 Bug 1756162 - Make the visibility of the "Top Pick" checkbox depend entirely on whether the best match feature is enabled. r=preferences-reviewers,Gijs
We've made a few changes to this "Top pick" checkbox recently based on shifting
Product requirements, and the problem here is that the checkbox used to be
inside the Firefox Suggest container, but we recently moved it outside the
container. The Firefox Suggest container is properly hidden or shown depending
on whether the Suggest feature is enabled, so when the checkbox was inside the
container and Suggest was disabled, the checkbox properly got hidden too. Now
that the checkbox is outside that container, its visibility needs to entirely
depend on whether the best match feature is enabled.

So all this revision does is move the checkbox's `hidden` assignment from inside
the "is Suggest enabled" if-block to outside the if-block. It also sets
`hidden=true` on the checkbox in the markup for good measure.

I also improved the test so it checks every combination of enabled statuses
between the Suggest and best match features.

Depends on D138987

Differential Revision: https://phabricator.services.mozilla.com/D139161
2022-02-23 03:43:14 +00:00
Iulian Moraru
d0fad6b244 Backed out changeset 15e745e8ec74 (bug 1756162) for causing mochitest failures on browser_privacy_firefoxSuggest.js. CLOSED TREE 2022-02-23 03:53:19 +02:00
Drew Willcoxon
84ae271fd3 Bug 1756162 - Make the visibility of the "Top Pick" checkbox depend entirely on whether the best match feature is enabled. r=preferences-reviewers,Gijs
We've made a few changes to this "Top pick" checkbox recently based on shifting
Product requirements, and the problem here is that the checkbox used to be
inside the Firefox Suggest container, but we recently moved it outside the
container. The Firefox Suggest container is properly hidden or shown depending
on whether the Suggest feature is enabled, so when the checkbox was inside the
container and Suggest was disabled, the checkbox properly got hidden too. Now
that the checkbox is outside that container, its visibility needs to entirely
depend on whether the best match feature is enabled.

So all this revision does is move the checkbox's `hidden` assignment from inside
the "is Suggest enabled" if-block to outside the if-block. It also sets
`hidden=true` on the checkbox in the markup for good measure.

I also improved the test so it checks every combination of enabled statuses
between the Suggest and best match features.

Depends on D138987

Differential Revision: https://phabricator.services.mozilla.com/D139161
2022-02-22 19:13:58 +00:00
Daisuke Akatsuka
a3f9df135b Bug 1755828: Add a Learn more link to the top pick checkbox. r=preferences-reviewers,adw,fluent-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D138987
2022-02-18 17:50:22 +00:00
Punam Dahiya
116a5bda3d Bug 1754110 - Update Send email link in MoreFromMozilla r=preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D139092
2022-02-18 17:48:22 +00:00
Sergey Galich
277f54a286 Bug 1653486 - Replace all non-user-facing references to "master" password. r=dimi,tgiles,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138113
2022-02-17 17:29:57 +00:00
Daisuke Akatsuka
e1e86d3db9 Bug 1755100: Change the best match toggle in the preferences UI to a checkbox. r=adw,preferences-reviewers
Depends on D138584

Differential Revision: https://phabricator.services.mozilla.com/D138631
2022-02-17 02:37:28 +00:00
Drew Willcoxon
ce7c4cb8fb Bug 1755057 - Part 2: Don't show best match in the preferences UI if the best match feature is disabled. r=daisuke,Gijs,preferences-reviewers
This is based on part 1 in D138583. It hides the best match toggle switch when
the best match feature is disabled. The best match feature is a sub-feature of
Firefox Suggest, so the toggle is also hidden if Suggest is disabled, along with
all the other Suggest UI.

Depends on D138583

Differential Revision: https://phabricator.services.mozilla.com/D138584
2022-02-17 01:52:26 +00:00
Daisuke Akatsuka
28588d206f Bug 1753738: Update the preferences UI for Firefox Suggest best match. r=preferences-reviewers,adw
Differential Revision: https://phabricator.services.mozilla.com/D138254
2022-02-17 01:52:25 +00:00
Meg Viar
51b15e5d34 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils test r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-14 14:21:04 +00:00
smolnar
9f23ccb51e Backed out changeset 260a3d2ed070 (bug 1747149) for causing android xpc failures in test_BrowserUtils. 2022-02-11 05:04:29 +02:00
Meg Viar
e8992b0b02 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils tests r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-11 02:06:56 +00:00
Hannah Peuckmann
6ad4e83fd6 Bug 1724690 - Check for invalid combination of capability and type. r=pbz,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137733
2022-02-10 15:53:46 +00:00
Marian-Vasile Laza
955d57fe74 Backed out changeset 9c6f30f619d7 (bug 1747149) for causing xpcshell failures on test_BrowserUtils.js. CLOSED TREE 2022-02-09 02:08:44 +02:00
Meg Viar
91b66923e1 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils tests r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-08 21:39:38 +00:00
Tim Giles
685cd4d006 Bug 1745248 - Allow each autofill feature to detect if it should be enabled depending on search region. r=dimi,sgalich,preferences-reviewers,skhamis,LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D133818
2022-02-08 19:31:58 +00:00
Meg Viar
6b15a32793 Bug 1751057 - Add tests for updated Fx98 MfM utm_content values on Rally promo page r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D136424
2022-02-03 14:24:40 +00:00
Iulian Moraru
e13fe3ef05 Backed out 4 changesets (bug 1745248) for causing issues with credit card sync. a=backout
Backed out changeset 324a6acb8612 (bug 1745248)
Backed out changeset f54ce6b7dd26 (bug 1745248)
Backed out changeset c7212ce535e4 (bug 1745248)
Backed out changeset 06d57e874522 (bug 1745248)
2022-02-03 00:50:29 +02:00
Meg Viar
5013ef4e7c Bug 1752814 - Resolve issues with showing email link to users based on accept language header given en-US/en-GB/en fallbacks used r=preferences-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D137483
2022-02-02 02:53:36 +00:00
Paul Zuehlcke
32983959c3 Bug 1748993 - Add a preferences section for privacy segmentation. r=preferences-reviewers,Gijs CLOSED TREE
- Show data collection section in about:preferences#privacy when privacy segmentation
  section is enabled.
  This is to ensure we can always show the privacy segmentation checkbox, even if data
  reporting is disabled.
- Add checkbox and learnMore label for privacy segmentation pref.
- Add pref for section visibility and learnMore link suffix.
- Provisional copy, final copy to be added in Bug 1752172.

Differential Revision: https://phabricator.services.mozilla.com/D136650
2022-01-31 22:51:28 +00:00
Cosmin Sabou
83f0a62ead Backed out changeset 269b4d7154ec (bug 1748993) for causing privacy related bc failures. 2022-02-01 02:24:07 +02:00
Paul Zuehlcke
1b61e7c93c Bug 1748993 - Add a preferences section for privacy segmentation. r=preferences-reviewers,Gijs
- Show data collection section in about:preferences#privacy when privacy segmentation
  section is enabled.
  This is to ensure we can always show the privacy segmentation checkbox, even if data
  reporting is disabled.
- Add checkbox and learnMore label for privacy segmentation pref.
- Add pref for section visibility and learnMore link suffix.
- Provisional copy, final copy to be added in Bug 1752172.

Differential Revision: https://phabricator.services.mozilla.com/D136650
2022-01-31 22:51:28 +00:00
Meg Viar
e9327a9bf8 Bug 1750312 - Mfm Fx98 - remove email link for locales not supported by email r=preferences-reviewers,pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136373
2022-01-28 16:49:59 +00:00
Dan Mosedale
7dc5d3ac05 Bug 1746509 - Replace More from Mozilla XUL tags with HTML, r=pdahiya,Gijs,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D135733
2022-01-27 19:11:27 +00:00
Tim Giles
c5cbdd8cd4 Bug 1745248 - Allow each autofill feature to detect if it should be enabled depending on search region. r=dimi,sgalich,preferences-reviewers,skhamis,LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D133818
2022-01-26 20:11:41 +00:00
Punam Dahiya
2707ea7ffe Bug 1749245 - Switch MfM as default for Fx98 r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136431
2022-01-26 18:28:19 +00:00
Punam Dahiya
a9251d546a Bug 1750309 - Add experiment params for users enrolled in MfM experiments r=preferences-reviewers,mviar,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D136261
2022-01-22 18:23:30 +00:00
Greg Tatum
1f2718ca13 Bug 1740067 - Add live language reloading tests; r=mstriemer,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D136022
2022-01-20 21:42:28 +00:00
Greg Tatum
79d3b1c3a1 Bug 1740067 - Rename language switching variables to be more explicit; r=mstriemer,platform-i18n-reviewers,preferences-reviewers,nordzilla
These were all areas that were confusing me when I was onboarding on to
this code, so I tried to make the terminology less ambiguous and more
precise.

The default language is now the primary language.

UI is now appended to words that are dealing with DOM elements rather
than data stores.

Differential Revision: https://phabricator.services.mozilla.com/D136019
2022-01-20 21:42:27 +00:00
Meg Viar
bf8ae6a133 Bug 1749243 - Update Fx98 MfM utm_content values to add region r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D135903
2022-01-20 19:11:22 +00:00