Commit Graph

149 Commits

Author SHA1 Message Date
Paul Zuehlcke
adc21c4e40 Bug 1788697 - Rename browser.privacySegmentation.enabled pref. r=pdahiya,timhuang,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D156194
2022-09-02 10:46:46 +00:00
Paul Zuehlcke
b036de13fc Bug 1751481 - Enable felt privacy features by default and integrate with Nimbus. r=dao,preferences-reviewers,Gijs
Depends on D155013

Differential Revision: https://phabricator.services.mozilla.com/D155065
2022-08-25 11:17:39 +00:00
Paul Zuehlcke
dc5a54f3fd Bug 1752172 - Updated privacy segmentation preferences section for final UX. r=preferences-reviewers,fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D155013
2022-08-25 11:17:38 +00:00
Dale Harvey
a599b2e8c6 Bug 1783452 - Add section in preferences to enable/disable QuickActions. r=adw,fluent-reviewers,preferences-reviewers,flod,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D154795
2022-08-17 22:47:54 +00:00
Hannah Peuckmann
ae3144ae3e Bug 1777981 - DeleteOnClose box always checked in pb autostart mode. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D152021
2022-07-19 14:49:20 +00:00
Barret Rennie
57d66179a5 Bug 1776477 - Stop using NimbusFeature.isEnabled for tcpPreferences r=timhuang,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150689
2022-07-10 21:57:25 +00:00
Barret Rennie
457c70f487 Bug 1776472 - Stop using NimbusFeature.isEnabled for tcpByDefault r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150686
2022-07-09 21:00:16 +00:00
Paul Zuehlcke
d87c68d249 Bug 1774739 - Update ETP preferences section for TCP in standard mode. r=anti-tracking-reviewers,preferences-reviewers,Gijs,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D150364
2022-06-28 10:24:49 +00:00
Hannah Peuckmann
84fc37682a Bug 1681495 - Switch clear cookies and site data checkbox to control sanitization prefs. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D140345
2022-05-19 14:08:16 +00:00
Mike Kaply
8aa602bdad Bug 1568275 - Disable deceptive content prefs when locked. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D144476
2022-05-10 20:13:35 +00:00
Paul Zuehlcke
72c1705b00 Bug 1766401 - Integrate tcpByDefault Nimbus feature. r=timhuang,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144719
2022-04-27 10:35:51 +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
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
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
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
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
Benjamin VanderSloot
a8367662b6 Bug 1740828 - Improve UI to clarify difference between cross site tracking cookies and cross site cookies option, r=pbz,flod,fluent-reviewers,preferences-reviewers
Revise two strings, choosing "Option 1" from the discussion on Bugzilla:
	https://bugzilla.mozilla.org/show_bug.cgi?id=1740828#c3

Differential Revision: https://phabricator.services.mozilla.com/D133346
2021-12-10 12:24:52 +00:00
Csoregi Natalia
da07cbd9a3 Backed out changeset 4f1bde7bc105 (bug 1740828) as per request. CLOSED TREE 2021-12-09 22:10:08 +02:00
Benjamin VanderSloot
db5b26c8aa Bug 1740828 - Improve UI to clarify difference between cross site tracking cookies and cross site cookies option, r=pbz,flod,fluent-reviewers,preferences-reviewers
Revise two strings, choosing "Option 1" from the discussion on Bugzilla:
	https://bugzilla.mozilla.org/show_bug.cgi?id=1740828#c3

Differential Revision: https://phabricator.services.mozilla.com/D133346
2021-12-09 15:57:16 +00:00
Gijs Kruitbosch
41fdc16945 Bug 1294999 - put module getters in preferences.js and de-duplicate them, r=jaws,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132529
2021-12-01 16:35:25 +00:00
Drew Willcoxon
7cbdd20c67 Bug 1735976 - Update Firefox Suggest preferences: Part 4 - Migrate suggest.quicksuggest to suggest.quicksuggest.nonsponsored. r=nanj
Now that we're likely not targeting a 94 dot release anymore, I'd like to go
ahead and rename the `suggest.quicksuggest` pref to
`suggest.quicksuggest.nonsponsored` as we considered doing before. There won't
be a better time to do it.

Depends on D128665

Differential Revision: https://phabricator.services.mozilla.com/D130565
2021-11-09 17:17:11 +00:00
Drew Willcoxon
e494b5943d Bug 1735976 - Update Firefox Suggest preferences: Part 2 - Update the preferences UI. r=Gijs
This updates the Privacy pane for the new Firefox Suggest preferences spec.

Please see the spec here: https://mozilla-hub.atlassian.net/browse/SNT-37

The Jira description is a little out of date, and the wording of these new
strings (which are not exposed to localizers) isn't finalized, but I'm told the
structure of the UI is final more or less.

There is also a Figma here: https://www.figma.com/file/seJ2ZA4v3FgoV7jCxUR74B/Firefox-Suggest-exploration?node-id=3197%3A55695

We're replacing the current two Firefox Suggest checkboxes with three toggle
buttons. The first two toggle buttons correspond to the existing
`browser.urlbar.suggest.quicksuggest` and
`browser.urlbar.suggest.quicksuggest.sponsored` prefs. However, the second pref
is no longer dependent on the first, and it can be toggled regardless of whether
the first is enabled. The third toggle corresponds to a new pref,
`browser.urlbar.quicksuggest.dataCollection.enabled`. It can also be toggled
independently of the others.

In addition, we're adding an info bar/box below the toggles to explain to the
user the effect of their toggle selection. The text in the box depends on the
state of the toggles. The box itself is hidden when all three toggles are off.

Depends on D129224

Differential Revision: https://phabricator.services.mozilla.com/D128661
2021-11-09 17:17:11 +00:00
Andrei Oprea
d042e1f37e Bug 1738206 - Switch TCP Preferences UI to rely on Nimbus r=Mardak,pbz
Differential Revision: https://phabricator.services.mozilla.com/D129617
2021-11-01 16:57:37 +00:00
criss
b6518b6cc6 Backed out 2 changesets (bug 1738206) for causing mochitests failures. CLOSED TREE
Backed out changeset be8c4d9dd03f (bug 1738206)
Backed out changeset 5c003995f9b5 (bug 1738206)
2021-11-01 17:21:06 +02:00
Andrei Oprea
93e9a90570 Bug 1738206 - Switch TCP Preferences UI to rely on Nimbus r=Mardak,pbz
Differential Revision: https://phabricator.services.mozilla.com/D129617
2021-11-01 14:29:12 +00:00
Norisz Fay
beddfcfb29 Backed out changeset 2f9fee41d745 (bug 1738206) for causing xpcshell failures on test_FeatureManifest.js CLOSED TREE 2021-11-01 13:19:11 +02:00
Andrei Oprea
05e7693290 Bug 1738206 - Switch TCP Preferences UI to rely on Nimbus r=Mardak,pbz
Differential Revision: https://phabricator.services.mozilla.com/D129617
2021-11-01 10:36:23 +00:00
Paul Zuehlcke
d260fb0038 Bug 1737565 - Added UI for toggling Total Cookie Protection in ETP standard in about:preferences. r=johannh,fluent-reviewers,preferences-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129408
2021-10-28 12:23:59 +00:00
Itiel
57b4f10c9d Bug 1710392 - Consolidate info boxes in about:preferences r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D115421
2021-09-21 18:14:52 +00:00
Drew Willcoxon
8e64eb7091 Bug 1730618 - Allow Nimbus to enable Firefox Suggest online and override the offline default. r=mythmon,preferences-reviewers,mstriemer
This reworks the fix to bug 1729776.

Currently Nimbus doesn't have a way to force the two suggestions prefs [1] on or
off. That might seem surprising since we've run experiments already. Initially
we defaulted the two prefs to true but we defaulted the separate feature-gate
pref [2] to false, and it was the feature-gate pref we controlled via Nimbus. At
some point we changed the defaults to false and then in Firefox flipped them to
true after showing the onboarding dialog. As a result we've never needed to
override the two suggestion prefs via Nimbus.

The problem now is that we default-enable offline (for US en users), so we set
all three prefs to true. For the online rollout, we need to keep the
feature-gate pref enabled but disable the suggestion prefs, and there's no way
to do that.

My first idea was to add new Nimbus variables to override the two suggestion
prefs. The prefs would keep their default true values but be overridden by
Nimbus. But that doesn't work because there's no way for Firefox to tell whether
the prefs are true because the user has opted in (overriding Nimbus) or because
they still have their default values. Setting the prefs to true on the user
branch doesn't have any effect because they're also true on the default branch.
Or maybe there's a way I don't know about to force them to true on the user
branch, but even if there were, it seems brittle to rely on a value being set on
the user branch to distinguish between the two cases. (This is a potential
problem for any prefs that are controlled by both Nimbus and the user. So far
the prefs we've been using via Nimbus have all been hidden feature-gate-type
things and implementation details.)

We already have a `quickSuggestScenario` variable. We currently use it only to
tell what we should send in the telemetry ping (bug 1729576) and whether some
parts of the prefs UI should be shown. This revision makes it much more
important by treating it as the source of truth for the user's scenario. It now
determines the default values of related prefs, including the two suggestions
prefs.

The logic is:

```
If quickSuggestScenario is non-null:
  scenario = quickSuggestScenario
Else (e.g., there's no rollout):
  If the user is US en:
    scenario = offline
  Else:
    scenario = history
```

After determining the scenario, it's set it as
`browser.urlbar.quicksuggest.scenario` on the default branch. There's an
existing pref observer in UrlbarPrefs, and I added a case for this pref so that
when it's updated we also update all the other prefs that depend on the
scenario. This way when the pref is set -- either due to Nimbus update or by
changing it on about:config -- all the other prefs stay in sync.

I kept the default value of `browser.urlbar.quicksuggest.scenario` but removed
it as the fallback for `quickSuggestScenario`. If it still both had a default
and remained the fallback, then it would be impossible to tell when Nimbus is
trying to override it, because any fetch of the value from Nimbus would just
return the fallback pref's value if there is no override.

I considered instead removing the default value and keeping it as the fallback.
The drawback of that is that unenrollments would not take effect until restart.
I actually tried this approach first, and in tests, after mock experiments were
unenrolled, the pref values remained what they were when the experiment was
active.

It might also be possible to not have the `browser.urlbar.quicksuggest.scenario`
pref at all. We could call NimbusFeatures directly to get the scenario. However,
currently we cache and access Nimbus variables through UrlbarPrefs, as we do
with prefs, and I don't want to add an inconsistency.

This revision also fixes bug 1730596 since it was easy to do given that I needed
a way to prevent indirect recursive updates to the scenario, and I can use that
for bug 1730596 too (the `_updatingFirefoxSuggestScenario` bool).

[1] `browser.urlbar.suggest.quicksuggest` and `browser.urlbar.suggest.quicksuggest.sponsored`
[2] `browser.urlbar.quicksuggest.enabled`

Differential Revision: https://phabricator.services.mozilla.com/D125511
2021-09-16 18:28:02 +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
Harry Twyford
b62fce7b38 Bug 1710937 - Part 1 - Remove newNewTabExperienceEnabled pref and associated code. r=amy,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D123248
2021-09-08 22:06:22 +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
Harry Twyford
87f29f6e7f Bug 1717509 - Part 1 - Hook up UrlbarProviderPlaces and fix various lint issues. r=adw,preferences-reviewers
UnifiedComplete must stick around to serve as an mozIPlacesAutoComplete implementation for XUL consumers like search.js and privacy.js.

Differential Revision: https://phabricator.services.mozilla.com/D119306
2021-07-09 23:52:37 +00:00
Mike Kaply
e933b64d09 Bug 1716360 - Add a preference for Windows 10 SSO - r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D118087
2021-07-08 20:06:18 +00:00
julianwels
7be2b311c8 Bug 1662710 - Added UI to manage HTTPS-Only Mode exceptions from about:preferences. r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102401
2021-05-27 20:07:32 +00:00
Dorel Luca
bb359d80bd Backed out changeset ccdbd76fc479 (bug 1662710) for Browser-chrome failures in toolkit/components/passwordmgr/test/browser/browser_exceptions_dialog.js. CLOSED TREE 2021-05-27 19:03:46 +03:00
julianwels
ceef73535a Bug 1662710 - Added UI to manage HTTPS-Only Mode exceptions from about:preferences. r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102401
2021-05-27 14:30:30 +00:00
ry99
4039935c3c Bug 1703792 - Fixed the last [Learn more] link floating to right in Nightly Data Collection and Use inside Preferences r=Gijs,preferences-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112192
2021-05-03 13:24:26 +00:00
Tim Huang
c96270666c Bug 1698845 - Part 1: Add a new cookie info for the state partitioning in PBM in 'about:preference#privacy'. r=johannh,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111933
2021-04-15 07:17:34 +00:00
Tim Huang
0470c65b89 Bug 1695050 - Part 2: Modify CookieJarSettings::Create() to be able to creat cookieJarSettings according to the browsing mode. r=dimi,preferences-reviewers
This patch modifies the current CookieJarSettings::Create() function.
It removes the current function and adds two variants. One takes the
nsIPrincipal as input and another takes the enum value. The new
functions will test if the input is for the private browsing window to
create the corresponding cookieJarSettings.

Differential Revision: https://phabricator.services.mozilla.com/D109045
2021-03-29 11:01:51 +00:00
james
c8a67215e0 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00