Commit Graph

69 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
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
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
Paul Zuehlcke
8f9f524436 Bug 1776403 - Strings for updated TCP preferences section. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D150235
2022-06-27 00:17:55 +00:00
Iulian Moraru
6c86aa67f1 Backed out changeset 330755349d44 (bug 1776403) for causing osx cross compiled shippable build bustage. CLOSED TREE 2022-06-25 15:48:00 +03:00
Paul Zuehlcke
85c324a8c9 Bug 1776403 - Strings for updated TCP preferences section. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D150235
2022-06-25 08:41:19 +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
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
Daisuke Akatsuka
78d792f2f8 Bug 1757353: Add browser usage telemetry for links in about:preferences. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D139808
2022-03-14 21:54:03 +00:00
Daisuke Akatsuka
cb32f5f267 Bug 1756917: Add telemetry for best match learn more link in the preferences page. r=preferences-reviewers,adw,Gijs
Depends on D139575

Differential Revision: https://phabricator.services.mozilla.com/D139576
2022-03-03 04:27:47 +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
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
Drew Willcoxon
22d4e553f7 Bug 1749758 - Disable session store for the Firefox Suggest toggles/checkboxes in about:preferences. r=Gijs,preferences-reviewers
Please see bug 1749758 comment 6 for background. In summary, session store is
restoring the states of the Firefox Suggest `<html:input>` checkboxes in
about:preferences#privacy, which intermittently happens **after** their states
are initialized by the preferences code. If a checkbox's session store state
does not match the value of its underlying pref, then the checkbox and pref both
end up with the wrong value because session store sets the wrong checked state
of the checkbox, which fires an input event, which then updates the pref.

This can only happen when the pref value is changed outside of
about:preferences, which is indeed the case for the Firefox Suggest pref
discussed in the bug.

To fix it, I tried adding `autocomplete=off` to each input, but unfortunately
that does not work because `input[type=checkbox]` is specifically not allowed to
opt out of autocomplete/session store. The code path for restoring input
checkboxes is:

# [CollectInputElement](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/toolkit/components/sessionstore/SessionStoreUtils.cpp#580)
  # CollectInputElement [calls](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/toolkit/components/sessionstore/SessionStoreUtils.cpp#603) [nsContentUtils::IsAutocompleteEnabled](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/dom/base/nsContentUtils.cpp#1070)
    # nsContentUtils::IsAutocompleteEnabled [calls](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/dom/base/nsContentUtils.cpp#1075) [HTMLInputElement::GetAutocomplete](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/dom/html/HTMLInputElement.cpp#1394)
    # HTMLInputElement::GetAutocomplete [calls](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/dom/html/HTMLInputElement.cpp#1395) [HTMLInputElement::DoesAutocompleteApply](https://searchfox.org/mozilla-central/source/dom/html/HTMLInputElement.cpp#6365)
    # HTMLInputElement::DoesAutocompleteApply [returns false](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/dom/html/HTMLInputElement.cpp#6398) for FormControlType::InputCheckbox
  # Back in nsContentUtils::IsAutocompleteEnabled, the `autocomplete` string is empty because HTMLInputElement::DoesAutocompleteApply did not set it to anything, so then the method [checks](https://searchfox.org/mozilla-central/rev/3de56eb5f266f523340e739ae1b53258e0a95dfe/dom/base/nsContentUtils.cpp#1078) if the input has a form and sets `autocomplete` to the value of the form's autocomplete attribute
  # nsContentUtils::IsAutocompleteEnabled then returns false iff `autocomplete` is "off"
# Back in CollectInputElement, if nsContentUtils::IsAutocompleteEnabled
   returned true, then it continues and checks a couple of other things, but at
   that point there's no way for the input checkbox to opt out of
   autocomplete/session store.

So, the only way to disable autocomplete seems to be to associate the input with
a form and set `autocomplete=off` on the form, so that's what I've done.

It would be simpler to make these XUL checkboxes instead, which AFAICT don't
participate in session store, but these checkboxes need the toggle-switch
styling.

Finally, this is a problem for all `<html:input>`s used in about:preferences. I
didn't update any others because I want to keep this scoped for uplift, and
maybe the other input checkboxes should be XUL checkboxes anyway?

Differential Revision: https://phabricator.services.mozilla.com/D136054
2022-01-15 20:22:34 +00:00
Mike Kaply
7a316a2876 Bug 1740777 - Hide Windows SSO options on Win7/8. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131009
2021-11-15 15:12:36 +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
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
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
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
Gijs Kruitbosch
29869758fc Bug 1721474 - use sentence case in the clear recent history dialog, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D122649
2021-08-14 17:43:14 +00:00
Matthew Noorenberghe
11d98f58c3 Bug 970675 - Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118889
2021-07-12 15:04:24 +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
cdbb562389 Bug 970675 - Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118889
2021-07-12 13:53:45 +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
Gijs Kruitbosch
4a2b31de9c Bug 1717819 - wrap exception button for https-only mode in hbox so search tooltips align correctly, r=mconley
I'm also removing the align=end, because the vbox is adjacent to a flex=1 vbox,
so all horizontal space will be eaten by that other box, meaning alignment of
the button is a no-op as its container is the same width as the button anyway.

Differential Revision: https://phabricator.services.mozilla.com/D119097
2021-07-05 15:51:11 +00:00
antonin.loubiere
f23a9740ea Bug 1706973 - Fix learn more button too wide. r=desktop-theme-reviewers,Itiel
Fix the learn button of the master password that was too wide.

Differential Revision: https://phabricator.services.mozilla.com/D118881
2021-07-04 16:55:14 +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
686beee35a Bug 1706263 - Add a short blocking description in ETP standard and strict section in about:preferences#privacy. r=johannh,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113082
2021-04-30 10:36:14 +00:00
Tim Huang
c3eee6e1a7 Bug 1698845 - Part 4: Update the string for the cookie blocking label of dFPI. r=johannh,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112098
2021-04-15 07:17:35 +00:00
Tim Huang
6f32f3b2f9 Bug 1698845 - Part 3: Remove the icons in the content blocking section of about:preference#privacy and use the bullet points for standard and strict mode. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D112089
2021-04-15 07:17:35 +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 Nguyen
639865603e Bug 1701448 - Tweak in-content page styling further for Proton. r=desktop-theme-reviewers,dao
* Update green color used for success
* Fix actions menulist alignment
* Make various elements use new accent colors
* Fix lack of border on HTML checkboxes
* Update various colors to proton colors
* Update input border-radius to 4px
* Update border colors

Differential Revision: https://phabricator.services.mozilla.com/D110033
2021-04-05 19:42:47 +00:00
Csoregi Natalia
2c7d00573d Backed out 2 changesets (bug 1701448, bug 1699917) for failures on browser_parsable_css.js. CLOSED TREE
Backed out changeset 3693f90f395d (bug 1701448)
Backed out changeset 99ce41916bb2 (bug 1699917)
2021-04-05 22:08:42 +03:00
Tim Nguyen
fbd6289896 Bug 1701448 - Tweak in-content page styling further for Proton. r=desktop-theme-reviewers,dao
* Update green color used for success
* Fix actions menulist alignment
* Make various elements use new accent colors
* Fix lack of border on HTML checkboxes
* Update various colors to proton colors
* Update input border-radius to 2px
* Update border colors

Differential Revision: https://phabricator.services.mozilla.com/D110033
2021-04-05 16:29:18 +00:00
leli
1309c53fb0 Bug 1690276 - Remove unused pref browser.preferences.exposeHTTPSOnly r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103806
2021-02-04 16:48:42 +00:00
Erica Wright
4b15bc0bb2 Bug 1685133 - String changes due to newtab updates r=preferences-reviewers,prathiksha,fluent-reviewers,flod,ntim
Differential Revision: https://phabricator.services.mozilla.com/D100819
2021-01-08 18:55:24 +00:00