Commit graph

229 commits

Author SHA1 Message Date
Karandeep
a9d19b1e7b Bug 1845159 - Add preferences pane checkbox for clipboard suggestion. r=mak,fluent-reviewers,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186812
2023-09-01 10:04:20 +00:00
Benjamin VanderSloot
ef0c1ff6bd Bug 1830623, part 3 - Update DNT UI to match GPC UI - r=anti-tracking-reviewers,mconley,timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D184585
2023-08-23 16:52:48 +00:00
Benjamin VanderSloot
17d859818d Bug 1830623, part 2 - Add UI in about:preferences for GPC - r=anti-tracking-reviewers,mconley,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D184584
2023-08-23 16:52:47 +00:00
Mike Kaply
4eff4b17cd Bug 1844615 - Allow relay checkbox to be locked. r=sgalich,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D186457
2023-08-23 03:22:18 +00:00
Tim Huang
bb2ce44f98 Bug 1841097 - Add telemetry for the fingerprinting protection checkbox and prefs. r=chutten,anti-tracking-reviewers,settings-reviewers,mstriemer,bvandersloot
This patch adds an event telemetry for fingerprinting protection
checkbox and fingerprinting protection prefs into the telemetry environment prefs.

Differential Revision: https://phabricator.services.mozilla.com/D186024
2023-08-22 12:38:00 +00:00
Tim Huang
1e5a2962ce Bug 1841097 - Implement a checkbox in ETP Custom subpanel for the configuration of the fingerprinting protection. r=anti-tracking-reviewers,fluent-reviewers,flod,bvandersloot,mstriemer
This patch implements a checkbox in ETP Custom usbpanel. It's for the
configuration of the fingerprinting protection. Similar to the tracking
protection checkbox, it has a dropdown list to select which window to
enable the protection, private windows or all windows.

In addition, we update the existing copy for fingerprinters to reflect
the newly added fingerprinting protectoin checkbox.

Differential Revision: https://phabricator.services.mozilla.com/D186023
2023-08-22 12:38:00 +00:00
Narcis Beleuzu
ef7ede76a2 Backed out 3 changesets (bug 1830623) for mochitest failures on test_navigator.html . CLOSED TREE
Backed out changeset e62ba02af50f (bug 1830623)
Backed out changeset 2667feba3922 (bug 1830623)
Backed out changeset 320a740f003c (bug 1830623)
2023-08-18 03:44:07 +03:00
Benjamin VanderSloot
4d67239ae8 Bug 1830623, part 3 - Update DNT UI to match GPC UI - r=anti-tracking-reviewers,mconley,timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D184585
2023-08-17 23:20:16 +00:00
Benjamin VanderSloot
e5a18aac03 Bug 1830623, part 2 - Add UI in about:preferences for GPC - r=anti-tracking-reviewers,mconley,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D184584
2023-08-17 23:20:15 +00:00
Iulian Moraru
67a2ff8dcb Backed out 3 changesets (bug 1830623) for causing mochitest-plain failures on test_navigator_secureContext.html. CLOSED TREE
Backed out changeset 9ee80b5bdc57 (bug 1830623)
Backed out changeset 669560330b96 (bug 1830623)
Backed out changeset 5d5a5853a04e (bug 1830623)
2023-08-14 18:56:30 +03:00
Benjamin VanderSloot
69430942ea Bug 1830623, part 3 - Update DNT UI to match GPC UI - r=anti-tracking-reviewers,mconley,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D184585
2023-08-14 13:56:23 +00:00
Benjamin VanderSloot
1e842e36ce Bug 1830623, part 2 - Add UI in about:preferences for GPC - r=anti-tracking-reviewers,mconley,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D184584
2023-08-14 13:56:23 +00:00
Mike Kaply
811f00df2e Bug 1772409 - Allow setting xpinstall.whitelist.required via policy. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185959
2023-08-11 15:16:50 +00:00
Gregory Pappas
8a35d5cf5f Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Malte Juergens
05a00d1692 Bug 1720458: Do not isolate https-only-load-insecure by origin attributes r=fluent-reviewers,settings-reviewers,flod,ckerschb,Gijs
Do not isolate `https-only-load-insecure` by origin attributes. This way the HTTPS-Only exceptions will behave similar to the `cookie` permission. This means that exceptions set in the system settings will also apply to private windows, but exceptions set in private windows via the identity pane will be reset after closing the browser.

Depends on D182761

Differential Revision: https://phabricator.services.mozilla.com/D183745
2023-07-24 13:31:19 +00:00
Malte Juergens
31665cb4bb Bug 1757297: Only work with http scheme for HTTPS-Only exceptions r=freddyb,settings-reviewers,Gijs
- Update the HTTPS-Only dropdown in the site identity pane to always set exceptions for the http version of the current origin.
- Add new parameter `forcedHTTP` to `gPermissionManager`, in order to only allow origins with a http scheme to be added in the HTTPS-Only section of the settings. This means when a https URL is added as an exeption, it will automatically be converted into a http one.
- Add a migration to convert all existing HTTPS-Only exceptions with a https scheme to a http scheme.
- Update `browser_https_only_exceptions.js` and `browser_identityPopup_HttpsOnlyMode.js` to account for this new behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D182761
2023-07-24 13:31:19 +00:00
Malte Juergens
87c5e45f0f Bug 1835792: Enable HTTPS-Only exception button if HTTPS-First is enabled r=freddyb,settings-reviewers
This should be seen as a temporary change since the UI probably needs a slightly bigger update if it should manage both HTTPS-Only and HTTPS-First.

Depends on D179424

Differential Revision: https://phabricator.services.mozilla.com/D179425
2023-07-11 14:27:38 +00:00
Sergey Galich
d79aecafe1 Bug 1829427 - Update Relay integration checkbox in Settings r=credential-management-reviewers,fluent-reviewers,settings-reviewers,flod,jneuberger,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176192
2023-05-25 13:22:26 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Tim Huang
b97e2b7429 Bug 1830054 - Disable Email tracking protection if tracking protection is disabled on the ETP Custom UI. r=anti-tracking-reviewers,pbz
We surface the email tracking protection using the existing tracking
protection UI on the protection panel, but we don't disable email
tracking protection if tracking protection is disabled. So, users will
still see blocked trackers if tracking protection is disabled for
private windows. To provide a way to disable email tracking protection
in private windows, we also use the existing tracking protection checkbox
UI to disable the email tracking protection.

This patch implements that disabling the tracking protection via the
tracking protection checkbox also disables email tracking protection.

Differential Revision: https://phabricator.services.mozilla.com/D177520
2023-05-16 07:06:01 +00:00
Valentin Gosu
cdababa868 Bug 1829905 - Add telemetry for DoH settings UI interaction r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176505
2023-05-05 13:21:42 +00:00
Narcis Beleuzu
39cbe04749 Backed out changeset f1fd6f277c40 (bug 1829427) for bc failure on browser_privacy_relayIntegration.js . CLOSED TREE 2023-04-24 22:02:15 +03:00
Sergey Galich
9fcf0fb644 Bug 1829427 - Update Relay integration checkbox in Settings r=credential-management-reviewers,fluent-reviewers,settings-reviewers,flod,jneuberger,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176192
2023-04-24 16:31:13 +00:00
Valentin Gosu
2e188c9fa3 Bug 1826749 - DoH Settings UI tests r=Gijs,settings-reviewers
This adapts previous test cases from the connection UI to the privacy UI.

Additional improvements:
- Set the ROLLOUT_URI_Pref to empty string to avoid DoHConfig reset setting it to undefined.
- Always set network.trr.uri even if it matches the default_provider_uri if it's a user choice.
- If the value of network.trr.uri doesn't match any of the providers, then set custom_uri so
  it shows up in the input text field. This can happen when it's set by a policy.

Differential Revision: https://phabricator.services.mozilla.com/D174876
2023-04-16 19:52:18 +00:00
Kershaw Chang
c836a8358c Bug 1596847 - DoH settings UI for excluded domains, r=fluent-reviewers,settings-reviewers,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173521
2023-04-11 09:57:29 +00:00
Valentin Gosu
8929cad58c Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-11 09:57:29 +00:00
Valentin Gosu
61f06999fa Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-11 09:57:28 +00:00
Valentin Gosu
543de31004 Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-11 09:57:27 +00:00
Cosmin Sabou
904ab94a50 Backed out 7 changesets (bug 1816948, bug 1596847, bug 1610741) for causing build bustages on TRRService.cpp. CLOSED TREE
Backed out changeset a7341379f263 (bug 1610741)
Backed out changeset 5689f1b0d016 (bug 1816948)
Backed out changeset 7746c3a39e92 (bug 1596847)
Backed out changeset 8e85f984f46c (bug 1610741)
Backed out changeset b9b738076d55 (bug 1610741)
Backed out changeset 403f22e3a0a0 (bug 1610741)
Backed out changeset 8ec3cfe29b61 (bug 1610741)
2023-04-07 00:45:15 +03:00
Kershaw Chang
994ea8292e Bug 1596847 - DoH settings UI for excluded domains, r=fluent-reviewers,settings-reviewers,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173521
2023-04-06 12:57:51 +00:00
Valentin Gosu
d735948483 Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-06 12:57:51 +00:00
Valentin Gosu
986296c556 Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-06 12:57:50 +00:00
Valentin Gosu
24453f2c09 Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-06 12:57:49 +00:00
Cristian Tuns
456072646e Backed out 7 changesets (bug 1610741, bug 1816948, bug 1596847) for causing xpcshell failures in test_dooh.js CLOSED TREE
Backed out changeset 8596bc4554df (bug 1610741)
Backed out changeset 1a9baaa49d3d (bug 1816948)
Backed out changeset d72b9cdfbb1e (bug 1596847)
Backed out changeset e2e564f584b3 (bug 1610741)
Backed out changeset e9e331ccc7ab (bug 1610741)
Backed out changeset 44218f91e7cf (bug 1610741)
Backed out changeset 6f296319409a (bug 1610741)
2023-04-05 15:14:36 -04:00
Kershaw Chang
106692769a Bug 1596847 - DoH settings UI for excluded domains, r=fluent-reviewers,settings-reviewers,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173521
2023-04-05 17:13:54 +00:00
Valentin Gosu
30552a1a59 Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-05 17:13:53 +00:00
Valentin Gosu
4122ebd649 Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-05 17:13:53 +00:00
Valentin Gosu
ed0851e1a3 Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-05 17:13:52 +00:00
ui.dev
a4adcff532 Bug 1824389 - Remove _initCookieBannerHandlingLearnMore() function from privacy.js. r=tgiles.
Differential Revision: https://phabricator.services.mozilla.com/D173621
2023-03-28 20:09:05 +00:00
Barret Rennie
f004218156 Bug 1818738 - Make the feature update event API more ergonomic r=aminomancer,settings-reviewers,search-reviewers,Gijs,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D172035
2023-03-16 22:20:14 +00:00
Karl Tomlinson
1c4704d106 Bug 1804352 add blocking speaker selection permissions to about:preferences#privacy r=fluent-reviewers,desktop-theme-reviewers,flod,dao,pbz
This patch adds support only for BLOCK permissions because ALLOW permissions
are double-keyed and will be included via a subsequent patch.

Support for a global BLOCK permission is not added here because of
inconsistencies in the way this interacts with device-specific ALLOW
permissions.

Differential Revision: https://phabricator.services.mozilla.com/D170303
2023-03-15 22:07:23 +00:00
issammani
d437ce175d Bug 1804502 - Add relevant telemetry events to relay integration. r=credential-management-reviewers,dimi,sgalich,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D163911
2023-03-06 23:50:44 +00:00
Marian-Vasile Laza
618f5a069a Backed out 2 changesets (bug 1804502) for bc failures on browser_relay_telemetry.js. CLOSED TREE
Backed out changeset 58235f400c11 (bug 1804502)
Backed out changeset 8131e1111608 (bug 1804502)
2023-03-06 01:07:24 +02:00
issammani
1771938f2f Bug 1804502 - Add relevant telemetry events to relay integration. r=credential-management-reviewers,dimi,sgalich,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D163911
2023-03-05 20:37:06 +00:00
Dão Gottwald
cf767fa2d9 Bug 1817401 - Implement "Dismissed suggestions" handling in Firefox Suggest preferences section. r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D170671
2023-03-01 09:58:25 +00:00
DJ
ad3692cf31 Bug 1817201 - sync PBM service.mode pref with base service.mode pref on settings page. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D170113
2023-02-17 18:59:35 +00:00
Jared Hirsch
e1e71f371c Bug 1816138 - Disable cookie banner detect only mode in about:preferences. r=settings-reviewers,mconley
It turns out the detect-only pref must be unset for cookie banner
handling to actually work, and while the onboarding doorhanger does
disable this pref, the about:preferences checkbox does not. This patch
corrects the issue, disabling the detect-only pref when the checkbox is
checked, so that users who discover the feature in about:preferences can
successfully enable it.

Differential Revision: https://phabricator.services.mozilla.com/D169645
2023-02-13 20:59:34 +00:00
Jared Hirsch
a4df247b27 Bug 1812819 - Update cookie banner preferences checkbox to toggle reject-only mode. r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D168285
2023-01-30 18:51:58 +00:00
Tim Giles
24dd735194 Bug 1801929 - Replace 'Top pick' link with support-link. r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D167439
2023-01-25 18:56:21 +00:00