Commit Graph

4543 Commits

Author SHA1 Message Date
Simon Friedberger
49d9f09002 Bug 1962354: Change test to use https: application handler r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D246575
2025-04-25 07:10:39 +00:00
Drew Willcoxon
c6aa8fdd9f Bug 1961881 - Hook up desktop to the dismissal API in the Suggest Rust component. r=daisuke,settings-reviewers
This hooks up desktop to the dismissal API in the Rust component [1] and removes
`BlockedSuggestions`.

The Rust dismissal API has two ways to dismiss a suggestion: by `Suggestion`
object and by dismissal key. We use the first one for Rust suggestions and the
second one for other suggestions, like Merino. A dismissal key is just an
arbitrary opaque string token stored in the dismissed-suggestions table in the
Rust component. It's up to consumers (like desktop) to use appropriate dismissal
keys for their non-Rust suggestions.

In order to retain the user's blocked digests that desktop has always recorded
in the `quicksuggest.blockedDigests` pref, I took advantage of dismissal keys by
migrating each digest to a dismissal key in the Rust component.

[1] See bug 1961412 and https://github.com/mozilla/application-services/pull/6714

Differential Revision: https://phabricator.services.mozilla.com/D246369
2025-04-25 00:26:51 +00:00
Gijs Kruitbosch
50daf5cb15 Bug 1959298 - improve sync entrypoint handling, r=markh
Differential Revision: https://phabricator.services.mozilla.com/D245039
2025-04-24 22:56:11 +00:00
Mark Striemer
daa5d1a043 Bug 1953327 - Part 3: Tests for setting-control r=reusable-components-reviewers,settings-reviewers,mossop,hjones
Differential Revision: https://phabricator.services.mozilla.com/D245481
2025-04-24 21:17:29 +00:00
Mark Striemer
2a25593516 Bug 1953327 - Part 2: Tests for setting-group r=reusable-components-reviewers,settings-reviewers,mossop,hjones,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D245480
2025-04-24 21:17:29 +00:00
Eitan Isaacson
ed0e54da26 Bug 1960608 - Remove manage colors button from appearance override warning. r=fluent-reviewers,settings-reviewers,Gijs,bolsson
The settings are no longer in the colors dialog but in the following
section, so the button does not do anything.

Differential Revision: https://phabricator.services.mozilla.com/D246240
2025-04-24 13:12:29 +00:00
Beth Rennie
41576d6989 Bug 1874939 - Support co-enrolling features r=relud,nimbus-reviewers,chumphreys,settings-reviewers,mconley
Nimbus now supports co-enrollment! Co-enrolling features cannot use most
of the traditional APIs, like
`ExperimentAPI.get{Experiment,Rollout,Enrollment}MetaData` or
`ExperimentFeature.getAllVariables` / `ExperimentFeature.getVariable`.
Instead, these features must use new co-enrollment aware APIs:

- `ExperimentAPI.getAllEnrollmentMetadata`, which returns the metadata
  for all active enrollments for a given feature;
- `ExperimentAPI.getAllEnrollments`, which returns the same metadata, as
  well as the feature values for all active enrollments for a given
  feature;

`ExperimentFeature.recordExposurEvent` will work for co-enrolling
features, but callers must always provide a slug when calling so that we
know what enrollment caused the exposure.

In that vein, `ExperimentAPI.get{Experiment,Rollout,Enrollment}MetaData`
can still be called with the slug for a feature for a co-enrolling
experiment.

Differential Revision: https://phabricator.services.mozilla.com/D245986
2025-04-23 17:01:49 +00:00
Valentin Gosu
5b38231344 Bug 1828354 - Fix Intermittent browser_privacy_dnsoverhttps.js r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D245268
2025-04-22 17:59:46 +00:00
Valentin Gosu
b135ff02bf Bug 1955579 - move browser/components/doh to toolkit/components/doh to be used on Android r=necko-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D242531
2025-04-22 17:59:45 +00:00
Stephanie Cunnane
8a13f6721b Bug 1961038 - Consistently use "changeReason" rather than "changeSource" in code related to search.engine.default.changed Glean event telemetry. r=search-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D245820
2025-04-17 21:19:43 +00:00
Reem H
356ecc376d Bug 1956388 - Add finalized strings for report ads/content and remove temporary fluent file. r=home-newtab-reviewers,fluent-reviewers,settings-reviewers,npypchenko,bolsson,Gijs,thecount
Differential Revision: https://phabricator.services.mozilla.com/D245011
2025-04-15 02:47:15 +00:00
smolnar
fd80679cf5 Backed out changeset 26c6f7c34aa3 (bug 1956388) for causing node newtab & bc failures @ browser_html_list_view.js failures. CLOSED TREE 2025-04-15 02:24:59 +03:00
Reem H
87e44fda04 Bug 1956388 - Add finalized strings for report ads/content and remove temporary fluent file. r=home-newtab-reviewers,fluent-reviewers,settings-reviewers,npypchenko,bolsson,Gijs,thecount
Differential Revision: https://phabricator.services.mozilla.com/D245011
2025-04-14 22:34:12 +00:00
Iulian Moraru
0dae2e4ec5 Backed out 4 changesets (bug 1959298) for causing bc failures on browser_Manifest_install.js. CLOSED TREE
Backed out changeset ef842ad5ff0c (bug 1959298)
Backed out changeset 37d6a257d32b (bug 1959298)
Backed out changeset cb96c92ac472 (bug 1959298)
Backed out changeset d9c8211f83fe (bug 1959298)
2025-04-14 21:55:09 +03:00
Gijs Kruitbosch
1e644c254c Bug 1959298 - improve sync entrypoint handling, r=markh
Differential Revision: https://phabricator.services.mozilla.com/D245039
2025-04-14 16:16:06 +00:00
Emilio Cobos Álvarez
d8d91503bb Bug 1959540 - Simplify XUL menu structure. r=Gijs,desktop-theme-reviewers,settings-reviewers,urlbar-reviewers,dao
We don't need so many wrappers and so on. Similarly we don't need
.menu-right, we can use ::after to draw the arrow.

This makes reasoning about menus a lot easier.

Differential Revision: https://phabricator.services.mozilla.com/D245000
2025-04-14 12:59:53 +00:00
reach
7f36d3ea63 Bug 1855839 - [Translations] Update offline translation language list display on locale change. r=nordzilla,settings-reviewers,translations-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D243690
2025-04-11 21:43:26 +00:00
Dan Ballard
221f492e4a Bug 1959305 - DoH pane undefined error in Privacy and Security when ParentalControlsServices disabled. r=settings-reviewers,Gijs
From: Sarah Jamie Lewis <sarah@openprivacy.ca>

When the parental controls service is disabled in a build, the DoH
settings now display the correct stauts when Increased or Max Protection
is enabled.

Previously, selecting either of these options would cause DoH to be
enabled, but the "Status" and "Provider" fields would not be properly
populated, due to a check on the gParentalControlsService causing an
error.

This check is now identical to the same check in DownloadIntegration.sys.mjs

Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: ma1 <giorgio@maone.net>

Differential Revision: https://phabricator.services.mozilla.com/D244850
2025-04-10 16:22:39 +00:00
Drew Willcoxon
843fe01a85 Bug 1959330 - Formalize restoring of dismissed Suggest suggestions. r=daisuke,settings-reviewers
Please see the bug for the motivation.

This adds a new `SuggestFeature.primaryUserControlledPreference` getter that
returns the feature-specific pref that lets the user toggle on/off the feature.

That way we can add `QuickSuggest.clearDismissedSuggestions()`, which goes
through each feature and clears that pref, and `canClearDismissedSuggestions()`,
which goes through and checks whether there are any prefs that can be cleared.

I also added a couple of notification topics for dismissals that the settings UI
uses to update the disabled state of its Restore button.

All of this will let us more easily move to the Suggest Rust component's
dismissal API too, which we should sooner or later.

Depends on D244865

Differential Revision: https://phabricator.services.mozilla.com/D244866
2025-04-10 02:24:19 +00:00
zombie
fbfa9e170a Bug 1957606 - Remove dead code and references to long deleted lazy modules r=Standard8,settings-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D243815
2025-04-07 17:46:30 +00:00
Gijs Kruitbosch
2ea90278d8 Bug 1956215 - fix data-subcategory for cfrfeatures and other setting groups, r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D244375
2025-04-03 21:57:43 +00:00
Narcis Beleuzu
cc33cd20bb Backed out 4 changesets (bug 1955579) for causing XPC failures on test_TRRRacer.js
Backed out changeset 820d70c9c0a3 (bug 1955579)
Backed out changeset b3c4ae7bc073 (bug 1955579)
Backed out changeset 7a78799b24a0 (bug 1955579)
Backed out changeset b3ec267e42e0 (bug 1955579)
2025-04-03 20:35:53 +03:00
Valentin Gosu
cffebc7146 Bug 1955579 - move browser/components/doh to toolkit/components/doh to be used on Android r=necko-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D242531
2025-04-03 16:17:45 +00:00
Yazan Al Macki
a5536418e1 Bug 1954589 - Remove -moz-crisp-edges from favicons. r=desktop-theme-reviewers,settings-reviewers,tabbrowser-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D243711
2025-04-02 13:54:15 +00:00
Moritz Beier
d03a158ad0 Bug 1956460 - Restore sinon spy. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D243767
2025-04-02 09:50:13 +00:00
William Wen
63dd1f440d Bug 1956556 - Add consent manager prefs to ETP strict settings. r=timhuang,settings-reviewers,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D243127
2025-04-01 20:02:42 +00:00
Francesco Lodolo (:flod)
09b596616a Bug 1956164 - Refactor WebRTC and pref code to use explicit Fluent IDs, remove more unused strings, r=settings-reviewers,emz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D242883
2025-04-01 19:16:18 +00:00
Reem H
c721be7a1a Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-28 11:21:18 +00:00
Cristian Tuns
6ede561ece Backed out changeset 331377959f1d (bug 1954653) for causing newtab failures in activity-stream.html CLOSED TREE 2025-03-27 19:47:55 -04:00
Reem H
659db0e7ba Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-27 21:21:47 +00:00
Jared Hirsch
e33e0b5fd5 Bug 1956105 - Propagate data upload pref changes between profiles in a group. r=profiles-reviewers,settings-reviewers,mossop
Add a pref that we overlooked in the original patch (bug 1933264).

Differential Revision: https://phabricator.services.mozilla.com/D242863
2025-03-26 23:25:15 +00:00
Cosmin Sabou
ec8d589c40 Backed out changeset 31637ac2869d (bug 1954653) for causing newtab failures. CLOSED TREE 2025-03-27 03:09:33 +02:00
Reem H
ab77b09940 Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-26 19:37:24 +00:00
Cosmin Sabou
c0283b2ae1 Backed out changeset 4f577328f67e (bug 1956105) for causing bc failures on browser_privacy_uploadEnabled. CLOSED TREE 2025-03-27 00:54:44 +02:00
Jared Hirsch
1f15c60a14 Bug 1956105 - Propagate data upload pref changes between profiles in a group. r=profiles-reviewers,settings-reviewers,mossop
Add a pref that we overlooked in the original patch (bug 1933264).

Differential Revision: https://phabricator.services.mozilla.com/D242863
2025-03-26 16:05:08 +00:00
Moritz Beier
20da07a5f8 Bug 1954707 - Add tests for renaming search engines using the tree in settings. r=search-reviewers,settings-reviewers,mossop,scunnane
Differential Revision: https://phabricator.services.mozilla.com/D242129
2025-03-26 08:50:43 +00:00
Moritz Beier
fae72e406a Bug 1944070 - Add tests for the "Add search engine" dialog. r=Standard8,settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D242001
2025-03-26 08:50:42 +00:00
Moritz Beier
a53fc7dc78 Bug 1949719 - Part 2: Allow editing custom search engines using the dialog. r=Standard8,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,urlbar-reviewers,bolsson,mossop,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D240846
2025-03-26 08:50:42 +00:00
Sandor Molnar
cd43879b4e Backed out changeset ff8b03537040 (bug 1954653) for causing node newtab failures CLOSED TREE 2025-03-26 06:13:17 +02:00
Reem H
d74b688611 Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-26 02:50:35 +00:00
Javier Rueda
e5c50eb4dc Bug 1822665 - Remove references to no longer supported MozDialog Help button. r=settings-reviewers,Gijs@mozilla.com
Differential Revision: https://phabricator.services.mozilla.com/D242618
2025-03-25 10:35:31 +00:00
Rolf Rando
6457c1eed4 Bug 1954648 - Smart Tab Group settings in Preferences->Tabs r=ngrato,fluent-reviewers,settings-reviewers,tabbrowser-reviewers,dwalker,flod
Differential Revision: https://phabricator.services.mozilla.com/D241922
2025-03-23 04:03:31 +00:00
Francesco Lodolo (:flod)
a691382ad2 Bug 1954994 - Remove unused strings in browser, avoid run-time ID generation r=fluent-reviewers,bolsson,settings-reviewers,Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D242147
2025-03-22 11:08:01 +00:00
Moritz Beier
5a24af2433 Bug 1949719 - Part 1: Allow editing the names of custom search engines via the table in preferences. r=Standard8,settings-reviewers,mossop,fluent-reviewers,urlbar-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D240845
2025-03-21 11:42:31 +00:00
Jared Hirsch
a78e75d919 Bug 1933264 - Copy data preferences between profiles in a group. r=profiles-reviewers,fluent-reviewers,settings-reviewers,mossop,bolsson
Also add an explanatory note to preferences.

Differential Revision: https://phabricator.services.mozilla.com/D241902
2025-03-20 17:17:57 +00:00
Sandor Molnar
53925bf70d Backed out changeset 272d0dd8b6a7 (bug 1954648) for causing bc failures @ browser_experimental_features.js 2025-03-19 23:36:30 +02:00
Rolf Rando
07417b054d Bug 1954648 - Smart Tab Group settings in Preferences->Tabs r=ngrato,fluent-reviewers,settings-reviewers,tabbrowser-reviewers,dwalker,flod
Differential Revision: https://phabricator.services.mozilla.com/D241922
2025-03-19 17:14:19 +00:00
Gijs Kruitbosch
afe72e45e7 Bug 1953531 - update crash reporter and technical plus interaction data links, r=settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D241245
2025-03-18 13:04:10 +00:00
Gijs Kruitbosch
b3fbe6b83e Bug 1954078 - addendum: scroll into the middle instead of the top (to help avoid sticky header overlap issues), r=settings-reviewers,mossop
Without this, in my testing with the previous patch, the scroll alignment on
the initial load of the settings page is incorrect, with the top of the
section being cut off. As this is the situation we care about (first load after
a browser update), fixing it seemed important.

I spent some time trying to work out why layout is changing - presumably
items above the "Browser Layout" section are either appearing or disappearing
in a way that races with the scroll. I could never reproduce on any loads other
than the first one. But then I realized the code here was overly complex and
that it would probably be nicer for items to appear in the middle of the view
rather than the top anyway. Yes, this means that sometimes the relevant header
is _still_ not _exactly_ in the middle, but that seems much less important.

Differential Revision: https://phabricator.services.mozilla.com/D241628
2025-03-17 22:24:53 +00:00
Gijs Kruitbosch
d97bc7a6c3 Bug 1954078 - add subcategory to 'Browser Layout' group, r=settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D241627
2025-03-17 22:24:53 +00:00