Commit Graph

3911 Commits

Author SHA1 Message Date
Drew Willcoxon
3d0a207aee Bug 1968156 - Vendor application-services 8986582 for suggest geonames and weather changes. r=daisuke,supply-chain-reviewers
This vendors this revision:
8986582d37

It also makes some desktop fixes due to some breaking changes in Suggest, which
@daisuke previously reviewed. It's a large vendor due to vendoring some new
crates plus some app-services revisions that made changes to logging and error
reporting and touched lots of files.

Differential Revision: https://phabricator.services.mozilla.com/D250877
2025-05-23 20:13:00 +00:00
Drew Willcoxon
0c5ddd434e Bug 1968154 - Send quick-suggest ping over ohttp and add client's country to data. r=nanj,mconley,urlbar-reviewers,daisuke
`country` is also recorded in the `newtab-content` ping [1], and I based this on
that.

[1] https://searchfox.org/mozilla-central/rev/e66fea62620cd4d77242764f9b09c91ae1040e1d/browser/components/newtab/metrics.yaml#1976-1998

Differential Revision: https://phabricator.services.mozilla.com/D250888
2025-05-23 19:11:26 +00:00
Beth Rennie
c60ea3b911 Bug 1956080 - Use async experiment cleanup in browser/components/urlbar browser tests r=urlbar-reviewers,Standard8
ExperimentManager.unenroll() is now effectively async when running in a
browser test (because we are now executing SQL queries during
unenrollment) so all cleanup functions that trigger unenrollment are
async as well.

Differential Revision: https://phabricator.services.mozilla.com/D250505
2025-05-22 20:14:04 +00:00
Dale Harvey
2a795f4591 Bug 1967857 - Enable scotchBonnet by default r=urlbar-reviewers,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D250537
2025-05-22 14:47:01 +00:00
Dana Keeler
59a7b8c7ca Bug 1966033 - pass the list of acceptable issuers through to the android API for client auth certs r=jschanck,geckoview-reviewers,geckoview-api-reviewers,ohall,owlish
Differential Revision: https://phabricator.services.mozilla.com/D249184
2025-05-22 03:08:23 +00:00
Chidam Gopal
fface72354 Bug 1967519 - Add Nimbus variable for similarity threshold r=mak
Differential Revision: https://phabricator.services.mozilla.com/D250275
2025-05-21 17:32:59 +00:00
Yazan Al-Macki
6d6c598acb Bug 1967430 - Enable scotch bonnet to prevent disable telemetry test from failing in beta. r=mak,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D250379
2025-05-21 12:59:36 +00:00
Moritz Beier
64dfbd8ede Bug 1967235 - Move strings for add engine dialog from enUS-searchFeatures.ftl to search.ftl. r=search-reviewers,fluent-reviewers,settings-reviewers,urlbar-reviewers,Standard8,bolsson,mossop
Differential Revision: https://phabricator.services.mozilla.com/D250030
2025-05-21 11:26:11 +00:00
Marco Bonardo
1cfe93b29e Bug 1967242 - Do not try to access the database connection when semantic manager is not available. r=cgopal
Differential Revision: https://phabricator.services.mozilla.com/D250053
2025-05-21 09:00:50 +00:00
Marco Bonardo
80a18f36c2 Bug 1967228 - Add Result Menu to allow removing semantic history results from history. r=cgopal
Differential Revision: https://phabricator.services.mozilla.com/D250047
2025-05-21 09:00:46 +00:00
agoloman
63c83deb26 Revert "Bug 1606785 - Enable Prettier for CSS files r=desktop-theme-reviewers,Standard8,frontend-codestyle-reviewers,emilio" for causing multiple failures.
This reverts commit ec5fa1d4c0.

Revert "Bug 1606785 - Format Firefox CSS files with Prettier r=desktop-theme-reviewers,perftest-reviewers,places-reviewers,translations-reviewers,omc-reviewers,backup-reviewers,browser-installer-reviewers,sparky,dao,pdahiya,nrishel,kpatenio"

This reverts commit baa5d72bbd.

Revert "Bug 1606785 - Format browser/themes and toolkit/themes CSS files with Prettier r=desktop-theme-reviewers,pip-reviewers,tabbrowser-reviewers,places-reviewers,dao,mconley"

This reverts commit 9604b0a8ae.

Revert "Bug 1606785 - Format browser/themes/preferences CSS files with Prettier r=settings-reviewers,desktop-theme-reviewers,dao,mconley"

This reverts commit 686c1cf85f.

Revert "Bug 1606785 - Format urlbar CSS files with Prettier r=urlbar-reviewers,desktop-theme-reviewers,dao"

This reverts commit a7a4f31251.

Revert "Bug 1606785 - Format webcompat CSS files with Prettier r=webcompat-reviewers,denschub"

This reverts commit 41bc4d5237.

Revert "Bug 1606785 - Format search CSS files with Prettier r=search-reviewers,jteow"

This reverts commit 7bb7f82374.

Revert "Bug 1606785 - Format dom CSS files with Prettier r=emilio"

This reverts commit c22e910235.

Revert "Bug 1606785 - Format android CSS files with Prettier r=geckoview-reviewers,hiro"

This reverts commit c08e43fc3d.

Revert "Bug 1606785 - Format layout CSS files with Prettier r=layout-reviewers,dholbert"

This reverts commit 4f2a32d1a4.

Revert "Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers"

This reverts commit c05f675ddf.

Revert "Bug 1606785 - Format recomp CSS files with Prettier r=reusable-components-reviewers,desktop-theme-reviewers,dao,mkennedy"

This reverts commit b10c7de8d0.

Revert "Bug 1606785 - Format sidebar CSS files with Prettier r=sidebar-reviewers,desktop-theme-reviewers,dao,nsharpley"

This reverts commit d32c555e37.

Revert "Bug 1606785 - Format shopping CSS files with Prettier r=shopping-reviewers,desktop-theme-reviewers,dao,rking"

This reverts commit 965887a708.

Revert "Bug 1606785 - Format profiles CSS files with Prettier r=profiles-reviewers,desktop-theme-reviewers,dao,mossop"

This reverts commit 8338860f74.

Revert "Bug 1606785 - Format genai and ml CSS files with Prettier r=firefox-ai-ml-reviewers,Mardak"

This reverts commit d66681f553.

Revert "Bug 1606785 - Format firefoxview CSS files with Prettier r=fxview-reviewers,desktop-theme-reviewers,dao,jsudiaman"

This reverts commit 530b815cad.

Revert "Bug 1606785 - Format aboutlogins, megalist, and form autofill CSS files with Prettier r=credential-management-reviewers,mtigley,desktop-theme-reviewers,dao"

This reverts commit 813c864381.
2025-05-21 04:49:28 +00:00
hannajones
a7a4f31251 Bug 1606785 - Format urlbar CSS files with Prettier r=urlbar-reviewers,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D249180
2025-05-21 03:55:02 +00:00
dadaa
6e0ff1deb8 Bug 1967626: Introduce yelpServiceResultDistinction Nimbus variable to enable service type title r=adw
Differential Revision: https://phabricator.services.mozilla.com/D250370
2025-05-21 02:23:07 +00:00
Niklas Baumgardner
934819c080 Bug 1948366 - Remove extensions.screenshots.disabled pref. r=sfoster,webdriver-reviewers,firefox-desktop-core-reviewers ,whimboo,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D248324
2025-05-20 23:49:14 +00:00
Mark Banner
3b2589fefe Bug 1966899 - Enable TypeScript on urlbar ActionProvider*.sys.mjs files. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D249766
2025-05-20 20:04:59 +00:00
Mark Banner
0186d5865e Bug 1967446 - Convert uniffi generated Rust modules to use moz-src. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D250243
2025-05-20 19:00:32 +00:00
Drew Willcoxon
bf950118ff Bug 1966811 - Enable Suggest in the UK and disable most suggestion types outside the US. r=daisuke,nanj
Differential Revision: https://phabricator.services.mozilla.com/D249706
2025-05-19 19:43:24 +00:00
iulian moraru
658d19a425 Revert "Bug 1956519 - Shared RemoteSettingsService, r=nanj,adw" for causing browser-chrome crashes.
This reverts commit 0b37f9e94c.
2025-05-19 18:39:21 +00:00
Ben Dean-Kawamura
0b37f9e94c Bug 1956519 - Shared RemoteSettingsService, r=nanj,adw
- Hooked the RustSharedRemoteSettingsService code to the Region module.
  The new system updates the app context as the home region changes.

- Updated `RemoteSettingsService.updateConfig` to be sync rather than
  async wrapped.  It should execute quickly and I want to have
  confidence that the config is actually updated when that function
  returns.

- Updated/Simplified the SuggestBackendRust.sys.mjs testing code.  Now
  we just need to track if we should disable the Rust backend for the
  tests or not.

- Updated `QuickSuggest._test_reinit` to wait for any unfinished
  ingestion from `SuggestBackendRust`.  This is needed now because
  changing the remote settings service affects all active clients.  If
  there are unfinished ingestion tasks, then this creates a race
  between those task finishing and the test finishing and uninitializing
  the remote settings mock server.

Differential Revision: https://phabricator.services.mozilla.com/D248467
2025-05-19 15:58:57 +00:00
dadaa
9e7131f6df Bug 1965396: Add prefix indicating the service to the title r=adw,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D248571
2025-05-19 04:26:37 +00:00
Yazan Al-Macki
ac53f457a4 Bug 1960836 - Create Suggest disable event. r=mak,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D248547
2025-05-19 01:37:39 +00:00
Mark Banner
8a3c99b9cb Bug 1966662 - Migrate most of toolkit/components/search to moz-src uris. r=search-reviewers,scunnane
Differential Revision: https://phabricator.services.mozilla.com/D249563
2025-05-17 17:38:49 +00:00
Mike Conley
305b2a61d1 Bug 1952316 - Have Search / URL bar code use the ContextID module for accessing the current context_id. r=adw,search-reviewers,urlbar-reviewers,scunnane
The browser_quicksuggest_ping_deletionRequest.js test now runs two separate set of tasks,
depending on whether or not context ID rotation is enabled.

The rotation set of tasks can be tested by calling ./mach test with `--setpref browser.contextual-services.contextId.rust-component.enabled=true --setpref browser.contextual-services.contextId.rotation-in-days=1`

Differential Revision: https://phabricator.services.mozilla.com/D248975
2025-05-16 23:13:04 +00:00
Marco Bonardo
25602f6943 Bug 1965225 - Make Semantic History search provider respect history suggest pref. r=cgopal
Rather than introducing a new pref, keep using the existing one. The
idea is that semantic history search will be part of the normal history
search functionality, so it doesn't need a separate pref.
Also add some checks to avoid unnecessary work in unrelated search modes.

Differential Revision: https://phabricator.services.mozilla.com/D248925
2025-05-16 12:40:22 +00:00
Dão Gottwald
c87e737513 Bug 1963884 - Limit the width of tab group action results. r=daleharvey
I think this is the last missing piece we need here once the dependent bugs are fixed.

Differential Revision: https://phabricator.services.mozilla.com/D249260
2025-05-16 12:15:50 +00:00
Dale Harvey
8fe17fd05f Bug 1964378 - Limit the number of actions shown. r=dao,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D249078
2025-05-16 11:26:41 +00:00
Narcis Beleuzu
bf7d376983 Revert "Bug 1965225 - Make Semantic History search provider respect history suggest pref. r=cgopal" for causing xpcshell failure on test_UrlbarProviderSemanticHistorySearch.js
This reverts commit e85ff46c79.
2025-05-16 09:45:24 +00:00
Marco Bonardo
e85ff46c79 Bug 1965225 - Make Semantic History search provider respect history suggest pref. r=cgopal
Rather than introducing a new pref, keep using the existing one. The
idea is that semantic history search will be part of the normal history
search functionality, so it doesn't need a separate pref.
Also add some checks to avoid unnecessary work in unrelated search modes.

Differential Revision: https://phabricator.services.mozilla.com/D248925
2025-05-16 08:57:10 +00:00
agoloman
335eb13e70 Revert "Bug 1965396: Add prefix indicating the service to the title r=adw,fluent-reviewers,bolsson" for causing xpc failures @test_quicksuggest_yelp.js.
This reverts commit 9dfb2bdc64.
2025-05-16 04:48:49 +00:00
dadaa
9dfb2bdc64 Bug 1965396: Add prefix indicating the service to the title r=adw,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D248571
2025-05-16 04:05:14 +00:00
dadaa
8565135320 Bug 1966784: Vendor application-services fa8a72a r=adw
Differential Revision: https://phabricator.services.mozilla.com/D249694
2025-05-16 03:16:49 +00:00
agoloman
c510b99a16 Revert "Bug 1960836 - Create Suggest disable event. r=mak,urlbar-reviewers" for causing bc failures @browser_glean_telemetry_engagement_groups.js.
This reverts commit 70ec0cd1a9.
2025-05-16 03:07:14 +00:00
Yazan Al-Macki
70ec0cd1a9 Bug 1960836 - Create Suggest disable event. r=mak,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D248547
2025-05-16 01:26:26 +00:00
agoloman
d66860ebe0 Revert (Bug 1956519, Bug 1965086) - for causing bc failures @browser_quicksuggest_dynamicSuggestions.js.
This reverts commit 49a5a6c0bf.

Revert "Bug 1965086 - Vendor app-services 72a070750ff979f4aac29da7c02a9cb6e53ac087, r=nanj"

This reverts commit 7b45ba29ff.
2025-05-15 18:42:38 +00:00
Dão Gottwald
df2872c885 Bug 1966337 - Don't offer the active tab group in address bar results. r=dwalker,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D249236
2025-05-15 17:02:19 +00:00
Ben Dean-Kawamura
49a5a6c0bf Bug 1956519 - Shared RemoteSettingsService, r=nanj,adw
- Hooked the RustSharedRemoteSettingsService code to the Region module.
  The new system updates the app context as the home region changes.

- Updated `RemoteSettingsService.updateConfig` to be sync rather than
  async wrapped.  It should execute quickly and I want to have
  confidence that the config is actually updated when that function
  returns.

- Updated/Simplified the SuggestBackendRust.sys.mjs testing code.  Now
  we just need to track if we should disable the Rust backend for the
  tests or not.

- Updated `QuickSuggest._test_reinit` to wait for any unfinished
  ingestion from `SuggestBackendRust`.  This is needed now because
  changing the remote settings service affects all active clients.  If
  there are unfinished ingestion tasks, then this creates a race
  between those task finishing and the test finishing and uninitializing
  the remote settings mock server.

Differential Revision: https://phabricator.services.mozilla.com/D248467
2025-05-15 17:01:14 +00:00
Mark Banner
46ce829d46 Bug 1964677 - Make UrlbarProvider.isActive consistently async for inheritance consistency. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247923
2025-05-15 10:40:33 +00:00
Chidam Gopal
5b9b110d52 Bug 1964543 - semantic history search inference on hold until DB is ready r=mak
Differential Revision: https://phabricator.services.mozilla.com/D247855
2025-05-14 18:31:43 +00:00
Dão Gottwald
61c2a7bdfc Bug 1966140 - Sort tab groups in recently-used order in address bar results. r=sthompson,daleharvey,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D249088
2025-05-14 04:13:54 +00:00
Mark Banner
8af835c23e Bug 1964675 - Add initial TypeScript configuration for urlbar code. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247922
2025-05-14 01:25:15 +00:00
Mark Banner
0362463c59 Bug 1964675 - Fix various jsdoc type definitions across urlbar code. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247921
2025-05-14 01:25:11 +00:00
Mark Banner
0bfb4c4f3d Bug 1964675 - Fix minor errors raised by TypeScript in UrlbarUtils.sys.mjs and UrlbarResults.sys.mjs. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247920
2025-05-14 01:25:07 +00:00
Mark Banner
ca077179a1 Bug 1964675 - Rework some parts of UrlbarUtils.sys.mjs for better type handling. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247919
2025-05-14 01:25:04 +00:00
Mark Banner
5019c33ec3 Bug 1964675 - Document missing properties for UrlbarQueryContext. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247918
2025-05-14 01:25:00 +00:00
Stephen Thompson
5b3f57be44 Bug 1954005 - URL bar search should not show saved tab groups in private windows r=dao,dwalker,urlbar-reviewers,tabbrowser-reviewers
In bug 1933744 we prevented SessionStore from reopening a saved tab group into a private window. In bug 1946761 we prevented users from saving tab groups from a private window. The general design principle has been to prevent tab group information leaking between private and non-private windows.

ActionsProviderTabGroups already respected privacy through the implementation of `Tabbrowser.getAllTabGroups`, but `SessionStore.getSavedTabGroups` doesn't respect privacy. Perhaps it should. But in any case, this patch ensures that search results in private windows don't include saved tab groups.

Differential Revision: https://phabricator.services.mozilla.com/D248351
2025-05-12 15:19:01 +00:00
Beth Rennie
6f53714516 Bug 1950237 - Use ExperimentAPI.manager in browser/components/urlbar r=urlbar-reviewers,Standard8
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.

Differential Revision: https://phabricator.services.mozilla.com/D248317
2025-05-11 19:37:18 +00:00
Marco Bonardo
1c8fec62ec Bug 1964975 - Handle corruption and versioning of the semantic history database. r=cgopal
Differential Revision: https://phabricator.services.mozilla.com/D248242
2025-05-09 20:34:30 +00:00
Stephen Thompson
fdf96a1cd2 Bug 1965130 - set JSDoc types and providerName for ActionsResult r=urlbar-reviewers,Standard8
Defines and/or updates JSDoc types on all ActionsResult properties.

The pre-existing property `ActionsResult.providerName` never gets set. `Query.add` sets a `providerName` on UrlbarResult objects, so to follow that pattern, I made `ProviderGlobalActions.startQuery` responsible for setting `providerName` on already constructed `ActionsResult` instances. Having the provider name available for actions results will make it easier for tests to find relevant actions results within search results.

Differential Revision: https://phabricator.services.mozilla.com/D248373
2025-05-09 16:28:37 +00:00
Mark Banner
1329b3e164 Bug 1964675 - Add some missing type properity definitions for UrlbarResult. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247917
2025-05-09 10:21:18 +00:00
Mark Banner
e6228fc2a7 Bug 1964675 - Fix some jsdoc types in UrlbarUtils.sys.mjs. r=urlbar-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D247915
2025-05-09 10:21:14 +00:00