Commit graph

37227 commits

Author SHA1 Message Date
stransky
398cb0f7cc Bug 1851393 [Linux] Update distro related instructions and files for Firefox GNOME Search provider service r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189359
2023-09-27 10:39:08 +00:00
Jason Prickett
1dd295fe99 Bug 1847120 - Add message bar survey confirmation screen r=omc-reviewers,shopping-reviewers,aminomancer,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D188873
2023-09-26 23:27:15 +00:00
Daisuke Akatsuka
9e7b132bbb Bug 1620576: Refer to the start time of the session with the update applied to suppress browser tips. r=adw,jteow,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186900
2023-09-26 20:36:01 +00:00
Perry McManis
2c76dc7ae5 Bug 1854199 - Tests for instrumentation around opening and closing the sidebar r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D188749
2023-09-26 20:17:48 +00:00
Shane Hughes
fb729780bf Bug 1854271 - Add price tag icons to Fakespot feature callouts. r=omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D188776
2023-09-26 18:42:02 +00:00
Katherine Patenio
dfe032f78c Bug 1851855 - use --icon-color for shopping sidebar icons and icon buttons r=shopping-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D189011
2023-09-26 16:16:41 +00:00
Perry McManis
ff5d7db939 Bug 1853945 - url bar icon displayed event test r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D188607
2023-09-26 15:32:23 +00:00
Marc Seibert
babd431fd4 Bug 1845710 - [UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane.r=mak
Differential Revision: https://phabricator.services.mozilla.com/D186124
2023-09-26 15:00:54 +00:00
James Teow
4a1407e106 Bug 1834608 - Re-enable the test browser_switchTab_currentTab.js - r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D189164
2023-09-26 14:40:48 +00:00
Sandor Molnar
47da40cec7 Backed out 4 changesets (bug 1853698, bug 1853763, bug 1846498) for causing mochitest failures on browser_privatebrowsing_resetPBM.js & browser_1089591_still_customizable_after_reset CLOSED TREE
Backed out changeset 15945b5a02c7 (bug 1853698)
Backed out changeset b396820a7a46 (bug 1853763)
Backed out changeset 535f72d66f52 (bug 1846498)
Backed out changeset 439c5b41701a (bug 1846498)
2023-09-26 16:53:51 +03:00
Sarah Clements
746e764f2c Bug 1833669 - Add telemetry for open tabs r=fxview-reviewers,kcochrane
* Add events to new context menu items and open tab clicks

Differential Revision: https://phabricator.services.mozilla.com/D188962
2023-09-26 12:40:46 +00:00
Paul Zuehlcke
3994fa762c Bug 1853698 - ResetPBM event telemetry. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D188612
2023-09-26 09:20:25 +00:00
Paul Zuehlcke
dc618f6f50 Bug 1846498 - Reset PBM feature tests. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D187776
2023-09-26 09:20:24 +00:00
Paul Zuehlcke
e578297fd3 Bug 1846498 - Add a restart PBM session button and panel for private windows. r=desktop-theme-reviewers,mconley,dao
Differential Revision: https://phabricator.services.mozilla.com/D187223
2023-09-26 09:20:24 +00:00
Mark Banner
dd81d2cbd7 Bug 1854781 - Convert AboutNewTabService to an ES module. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D189045
2023-09-26 07:57:59 +00:00
Drew Willcoxon
57f6fbd39c Bug 1854060 - Initial integration of the Suggest Rust component into desktop urlbar. r=daisuke
This builds on D188681 and adds a new `BaseFeature` called `SuggestBackendRust`.
When `quickSuggestRustEnabled` is true, `UrlbarProviderQuickSuggest` will use
`SuggestBackendRust` to fetch remote settings suggestions; otherwise it will use
`SuggestBackendJs`.

The Rust component is already integrated into desktop Firefox (bug 1851256, bug
1851845), and it's exposed to JS via `RustSuggest.sys.mjs`. Currently it only
supports AMP (sponsored, a.k.a. adM) and Wikipedia (non-sponsored) suggestions.

It's possible to configure the path of the Sqlite file created by the Rust
component. This patch uses `suggest.sqlite` in the user's local profile (cache)
directory.

This is only the initial integration. I can think of a few follow-ups:

* Handle icons. In this patch, results from `SuggestBackendRust` don't have
  icons at all. I have a WIP.
* Handle ingestion better. "Ingest" here means Firefox must tell the Rust
  component to re-fetch suggestions from remote settings and rebuild its Sqlite
  database. Unfortunately the Rust component doesn't keep the data updated by
  itself, so we'll need to periodically tell the component to ingest. This patch
  performs ingestion every time `SuggestBackendRust` is (re)enabled, which is a
  good enough start.
* Maybe handle tests better. For now I modified the main quick suggest unit
  test, test_quicksuggest.js, so it tests both backends. Other tests should
  maybe be updated too, I'm not sure yet.

Depends on D188681

Differential Revision: https://phabricator.services.mozilla.com/D188684
2023-09-26 05:15:30 +00:00
Drew Willcoxon
5b9951a549 Bug 1854059 - Convert Suggest remote settings component to a BaseFeature. r=daisuke
This converts `QuickSuggestRemoteSettings` into a `BaseFeature` so that it can
be managed by `QuickSuggest` and easily enabled and disabled depending on
whether the new Rust component is enabled.

Summary of major changes:

* Rename `QuickSuggestRemoteSettings` to `SuggestBackendJs` and make it a
  `BaseFeature`. In D188684 I'll also add a new `SuggestBackendRust` feature.
* Introduce a `quickSuggestRustEnabled` Nimbus variable. The JS backend will be
  disabled if this variable is true. Nothing else uses the variable in this
  patch but D188684 does.
* Move `DEFAULT_SUGGESTION_SCORE` to `UrlbarProviderQuickSuggest` and make the
  provider ensure all suggestions have scores.

Differential Revision: https://phabricator.services.mozilla.com/D188681
2023-09-26 05:15:29 +00:00
Sidharth Sachdev
3e90b6366a Bug 1849379 - Move Save/Cancel buttons to the same area where Edit/Remove buttons are. r=credential-management-reviewers,desktop-theme-reviewers,sfoster,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187129
2023-09-26 03:37:48 +00:00
Drew Willcoxon
b551362822 Bug 1854755 - Add suggested_index and suggested_index_relative_to_group to Suggest pings. r=nanj
This adds two new fields to the Suggest PingCentre and Glean pings:

* `suggested_index` -
  An integer value that is the intended index of the suggestion
  being interacted with. If `suggested_index_relative_to_group` is true, the
  index is relative to the "Firefox Suggest" group; otherwise the index is
  relative to the entire list of suggestions. Non-negative values (starting
  at 0) are relative to the start/top of the group/list; negative values are
  relative to the end/bottom of the group/list.
* `suggested_index_relative_to_group` -
  Whether `suggested_index` is relative to the "Firefox Suggest" group. If
  false, it is relative to the entire list of suggestions.

In the Glean ping, `suggested_index` is stringified because there's no integer
metric type that can take negative numbers.

These two values reflect how the implementation works and will let us record any
indexes we want to experiment with. Suggestions are usually shown at the bottom
of the Firefox Suggest group, and in that case these values will be:

```
suggested_index = -1
suggested_index_relative_to_group = true
```

If we want to show suggestions at the top of the Firefox Suggest group instead
of the bottom, the values will be:

```
suggested_index = 0
suggested_index_relative_to_group = true
```

Differential Revision: https://phabricator.services.mozilla.com/D189035
2023-09-26 02:48:30 +00:00
Mike Conley
3f5d2e4d33 Bug 1812135 - Use moz-toggle in the about:newtab personalization panel. r=thecount,amy,hjones,desktop-theme-reviewers,bolsson
This adds moz-toggle.mjs as a module to load in the main newtab document
(cached or otherwise), and then converts the existing toggles to use
moz-toggle.

This also required me to bring in tokens-brand.css to get the right
colours for the toggle to appear.

There was some markup in the original panel that had the label exist outside
of the toggle, and some CSS grid styling to make it appear alongside it.
Thankfully, moz-toggle takes care of a lot of that for us, so I was able
to get rid of the external label element and the associated styles.

Differential Revision: https://phabricator.services.mozilla.com/D187716
2023-09-25 20:32:10 +00:00
Cosmin Sabou
e2ebed1c53 Backed out changeset 6a7f708c3d04 (bug 1812135) for causing crashtest failures on 1662259.html. CLOSED TREE 2023-09-26 01:11:46 +03:00
Mike Conley
2bde878c98 Bug 1812135 - Use moz-toggle in the about:newtab personalization panel. r=thecount,amy,hjones,desktop-theme-reviewers,bolsson
This adds moz-toggle.mjs as a module to load in the main newtab document
(cached or otherwise), and then converts the existing toggles to use
moz-toggle.

This also required me to bring in tokens-brand.css to get the right
colours for the toggle to appear.

There was some markup in the original panel that had the label exist outside
of the toggle, and some CSS grid styling to make it appear alongside it.
Thankfully, moz-toggle takes care of a lot of that for us, so I was able
to get rid of the external label element and the associated styles.

Differential Revision: https://phabricator.services.mozilla.com/D187716
2023-09-25 20:32:10 +00:00
Emily McMinn
10f1a37947 Bug 1854253 - Use chrome font sizes for shopping onboarding and microsurvey r=omc-reviewers,desktop-theme-reviewers,dao,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D188764
2023-09-25 20:12:24 +00:00
Sidharth Sachdev
c7b250a060 Bug 1845753 - The tooltip does not show up for create new login. r=credential-management-reviewers,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D185438
2023-09-25 19:52:41 +00:00
Jules Simplicio
cf45a952a0 Bug 1854930 - Apply heading large styles to Firefox View's h2 r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189147
2023-09-25 19:48:16 +00:00
Luca Greco
66af15da8d Bug 1853617 - Clear all logins included FxAccounts ones in test_ext_browsingData_passwords test and re-enable it on windows11 conditioned profile jobs. r=jmaher,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189148
2023-09-25 19:07:35 +00:00
James Teow
4c6ac8c729 Bug 1853004 - Add ad_image_row to ad components - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188372
2023-09-25 18:37:19 +00:00
Sidharth Sachdev
f65d0357c9 Bug 1851589 - The icon at the right of a breached account regressed into gray instead of a red color r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187563
2023-09-25 18:34:31 +00:00
Cosmin Sabou
6f72d40232 Bug 1849098 - Disable browser_searchMode_sessionStore.js for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189043
2023-09-25 18:08:04 +00:00
Cosmin Sabou
4fa5026a5f Bug 1775779 - Disable browser_download_spam_protection.js on windows for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189042
2023-09-25 18:07:15 +00:00
Cosmin Sabou
2f94d308e3 Bug 1775698 - Disable browser_dynamical_window_rounding.js also on linux debug due to frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189038
2023-09-25 17:44:11 +00:00
Molly Howell
da6045d85c Bug 1848815 - Add a user-facing setting to enable enterprise roots import, and enable it by default. r=keeler,settings-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,Itiel,Gijs,valentin
Differential Revision: https://phabricator.services.mozilla.com/D186236
2023-09-25 17:28:27 +00:00
Iulian Moraru
e4efe8dc5b Backed out changeset c2341f2f6212 (bug 1812135) for causing multiple crashes. CLOSED TREE 2023-09-25 20:53:34 +03:00
Jan Varga
07ad108789 Bug 1733107 - Replace some nsIQuotaManagerService::ClearStoragesForPrincipal calls with nsIQuotaManagerService::ClearStoragesForOriginPrefix; r=dom-storage-reviewers,pbz,asuth
There's now a dedicated nsIQuotaManagerService::ClearStoragesForOriginPrefix
method for clearing storages for origin prefix. All callers of
nsIQuotaManagerService::ClearStoragesForPrincipal which want to clear all
storages for given origin prefix can be now converted to call the new method.

Changed done in this patch:
- replaced some nsIQuotaManagerService::ClearStoragesForPrincipal calls with
  nsIQuotaManagerService::ClearStoragesForOriginPrefix

Differential Revision: https://phabricator.services.mozilla.com/D186778
2023-09-25 16:28:38 +00:00
Mike Conley
c31b4c1af9 Bug 1812135 - Use moz-toggle in the about:newtab personalization panel. r=thecount,amy,hjones,desktop-theme-reviewers,bolsson
This adds moz-toggle.mjs as a module to load in the main newtab document
(cached or otherwise), and then converts the existing toggles to use
moz-toggle.

This also required me to bring in design-tokens-brand.css to get the right
colours for the toggle to appear.

There was some markup in the original panel that had the label exist outside
of the toggle, and some CSS grid styling to make it appear alongside it.
Thankfully, moz-toggle takes care of a lot of that for us, so I was able
to get rid of the external label element and the associated styles.

Differential Revision: https://phabricator.services.mozilla.com/D187716
2023-09-25 16:11:33 +00:00
Mark Banner
3b817161dd Bug 1854783 - Remove some unnecessary ESLint globals and exports declarations. r=mossop,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189046
2023-09-25 11:11:54 +00:00
Mark Banner
b23ba99911 Bug 1832704 - Remove SearchService's init-complete, replace by a promise that resolves or rejects as appropriate. r=mcheang,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D187512
2023-09-25 10:44:49 +00:00
Kelly Cochrane
5f4040f3b7 Bug 1852148 - Switch Open Tabs card layout to 2 columns on narrow viewports in Firefox View r=jsudiaman,desktop-theme-reviewers,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D188876
2023-09-23 16:36:31 +00:00
Cristian Tuns
36a0e62e44 Backed out changeset f6ecdc6c2215 (bug 1852148) for causing mochitest failures in test_opentabs.html CLOSED TREE 2023-09-22 21:11:50 -04:00
Perry McManis
2ac5c3d135 Bug 1854376 - Add an event when the feature callout is shown r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D188852
2023-09-22 23:45:07 +00:00
Kelly Cochrane
ba0fca5c2e Bug 1852148 - Switch Open Tabs card layout to 2 columns on narrow viewports in Firefox View r=jsudiaman,desktop-theme-reviewers,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D188876
2023-09-22 22:50:07 +00:00
Jules Simplicio
2699cc2873 Bug 1854551 - Apply standardized heading font size to error pages r=dholbert,reusable-components-reviewers,desktop-theme-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D189010
2023-09-22 21:56:50 +00:00
Stephanie Cunnane
c09bf2ddc0 Bug 1854456 - Ensure the Urlbar component's browser mochitests and XPCShell tests use add_setup correctly. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D188889
2023-09-22 21:23:40 +00:00
negin
f8fab594db Bug 1849362 - [High Contrast] The "Privacy policy" and "Terms of use" links from the Fakespot onboarding sidebar disappear when clicked r=omc-reviewers,aminomancer
Removes the link overrides and adds the design system token link styles.

Differential Revision: https://phabricator.services.mozilla.com/D189017
2023-09-22 20:30:28 +00:00
Cristian Tuns
93bdf425e2 Backed out changeset ff00fc0d5a8f (bug 1854376) for causing xpcshell failures in test_AboutWelcomeTelemetry.js CLOSED TREE 2023-09-22 15:47:24 -04:00
negin
bc492f1864 Bug 1854667 - [Sidebar] Update legal and learn more links to be more semantic r=omc-reviewers,emcminn,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D188997
2023-09-22 19:24:20 +00:00
Joel Maher
a437fdd3c0 Bug 1853617 - skip test_ext_browsingData_passwords.js on condprof. r=aryx,extension-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D188999
2023-09-22 19:02:48 +00:00
Perry McManis
16f891a611 Bug 1854376 - Add an event when the feature callout is shown r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D188852
2023-09-22 18:45:05 +00:00
Katherine Patenio
5236b0fc32 Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment r=desktop-theme-reviewers,shopping-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D188528
2023-09-22 16:26:06 +00:00
Niklas Baumgardner
3dcdb8e06a Bug 1851833 - Use chrome font sizes for shopping sidebar. r=shopping-reviewers,desktop-theme-reviewers,kpatenio,dao
Differential Revision: https://phabricator.services.mozilla.com/D188742
2023-09-22 15:32:33 +00:00