Commit Graph

380 Commits

Author SHA1 Message Date
Barret Rennie
d47aeff0c3 Bug 1883646 - Migrate abouthomecache feature to use setPref r=mconley,firefox-desktop-core-reviewers ,home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D204084
2024-04-16 17:37:27 +00:00
Simon Friedberger
c424b87cb1 Bug 1889338 - Remove isEarlyStartup from DAP feature r=barret,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206472
2024-04-16 12:22:37 +00:00
Yi Xiong Wong
03a2372d77 Bug 1880914 - Move BrowserOpenAddonsMgr. r=Gijs,extension-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,robwu,thecount
Differential Revision: https://phabricator.services.mozilla.com/D207110
2024-04-15 10:22:46 +00:00
Nipun Shukla
358514a845 Bug 1885385 - Added default profile is current profile check in native messaging registration idle task r=mhughes,robwu,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D206690
2024-04-10 14:05:22 +00:00
Mike Conley
7480978c19 Bug 1879136 - Add a migration to get rid of any lingering ShutdownDuration.json files. r=florian,firefox-desktop-core-reviewers ,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D203463
2024-04-09 14:18:30 +00:00
Luca Greco
1977c9cd4f Bug 1883452 - Obliterate Corroborator remaining bits. r=rhelmer,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205735
2024-03-27 16:29:42 +00:00
Micah Tigley
47cb86e453 Bug 1869845 - Establishing Megalist. r=issammani,firefox-desktop-core-reviewers ,fluent-reviewers,sidebar-reviewers,mstriemer,niklas,mtigley,bolsson
Megalist is a feature where a user can manage their personal data from one place. This is available as an entry in the browser sidebar by adding the pref “browser.megalist.enabled”.

This initial patch includes:

* Displaying logins, credit cards, and addresses in the browser sidebar
* Editing login, credit card, or address
* Rendering site favicons
* Importing logins
* Copying field values
* Filtering records using search text
* Conceal / reveal password

What’s not included:

* Creating a login, credit card, or address
* Deleting
* Sorting records
* Tests
* Documentation

**Architecture**

At a high-level, the relationship between modules can be outlined as such:

DataSource <—> Aggregator <—> View Model <—> View

The **MegalistViewModel** is responsible for providing the data that will be displayed in the view (MegalistView). It is responsible for organizing data accessed from the Aggregator into a list and send this data as “snapshots” to the view. The MegalistParent/Child actors facilitate the communication between the browser context and content.

The **Aggregator** is responsible for connecting a data source to the ViewModel. It can connect multiple data sources to the ViewModel.

The **data source **defines how the data is fetched and represented in Megalist as a group of “lines”. At this level, we define specific functionality on what commands can act on this data and what is exposed to the ViewModel.

Differential Revision: https://phabricator.services.mozilla.com/D202678
2024-03-26 20:16:06 +00:00
Nan Jiang
433a8fd0fd Bug 1886207 - Add a new component for content relevance ranking r=bdk,ttran,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205266
2024-03-22 20:01:34 +00:00
Stephanie Cunnane
ae45f2ecde Bug 1872935 - Reconcile original categorization ping patches with updated code. r=jteow,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197826
2024-03-22 17:57:09 +00:00
Emily McMinn
d4f51984fa Bug 1724300 - Remove What's New Panel, ToolbarPanelHub components & related tests & references r=desktop-theme-reviewers,omc-reviewers,aminomancer,pdahiya,emilio,devtools-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201867
2024-03-21 22:05:28 +00:00
Dave Townsend
a0c83bc943 Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203005
2024-03-19 09:36:35 +00:00
Emily McMinn
0ebe683d61 Bug 1877295 - Toolbar button option for returning to about:welcome r=pdahiya,fluent-reviewers,Gijs,desktop-theme-reviewers,omc-reviewers,bolsson,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D199934
2024-03-15 20:53:04 +00:00
Stanca Serban
4c3e18b570 Backed out changeset 4aafa3f8df2d (bug 1877295) for causing mochitests failures in browser_preferences_usage.js. CLOSED TREE 2024-03-15 02:34:04 +02:00
Emily McMinn
9e0f6d80e7 Bug 1877295 - Toolbar button option for returning to about:welcome r=pdahiya,fluent-reviewers,Gijs,desktop-theme-reviewers,omc-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D199934
2024-03-14 19:47:17 +00:00
Nipun Shukla
b67eacdd99 Bug 1876342 - Added Windows native messaging host registration for Chromium r=mhughes,robwu,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D199587
2024-03-13 19:01:05 +00:00
Nipun Shukla
5c02edf906 Bug 1876344 - Added idle startup task to register native messaging host JSON files on macOS r=mhughes,robwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D201773
2024-03-13 19:01:04 +00:00
Jan-Erik Rediger
c478a57c70 Bug 1884504 - Remove test object metric again r=TravisLong
This reverts bug 1883879

Differential Revision: https://phabricator.services.mozilla.com/D204189
2024-03-11 13:10:17 +00:00
Jan-Erik Rediger
f1479f8997 Bug 1883879 - Record some static data into an object. r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D203748
2024-03-07 14:28:40 +00:00
Niklas Baumgardner
6ccd62e73a Bug 1883143 - Initial profiles setup. r=jhirsch,mossop
Differential Revision: https://phabricator.services.mozilla.com/D203299
2024-03-06 15:44:11 +00:00
Niklas Baumgardner
33c3a923a1 Bug 1883678 - Dispatch screenshots events to chrome only. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D203631
2024-03-05 18:52:34 +00:00
Cristian Tuns
4965aa56a7 Backed out changeset 498c23b2d670 (bug 1883143) for causing failures in nsContentSecurityUtils.cpp CLOSED TREE 2024-03-05 13:19:07 -05:00
Niklas Baumgardner
df24a1b60b Bug 1883143 - Initial profiles setup. r=jhirsch,mossop
Differential Revision: https://phabricator.services.mozilla.com/D203299
2024-03-05 16:50:31 +00:00
Dana Keeler
c646cf9eb3 Bug 1881401 - remove expiring oskeystore.self_test metric and related code r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D203321
2024-03-04 22:36:14 +00:00
Sam Foster
e10d714796 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-03-04 21:13:17 +00:00
Sandor Molnar
7ec5066cee Backed out changeset 5b88e57227bc (bug 1789727) for causing bc failures @ browser_feature_callout_in_chrome.js & browser_asrouter_toolbarbadge CLOSED TREE 2024-03-01 20:33:14 +02:00
Sam Foster
27c17caceb Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-03-01 15:02:51 +00:00
Noemi Erli
6b84db45b8 Backed out changeset 9b4da905ce36 (bug 1789727) for causing failures in browser_asrouter_toolbarbadge.js CLOSED TREE 2024-02-29 22:43:51 +02:00
Michael Hughes
a9151787eb Bug 1880368 - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols r=nshukla,mossop
Differential Revision: https://phabricator.services.mozilla.com/D201879
2024-02-29 19:03:17 +00:00
Sam Foster
998fa1d9fe Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-29 18:27:46 +00:00
Sandor Molnar
0941fe84f2 Backed out changeset c8f7d19d58bb (bug 1789727) for causing telemetry/marionette/tests/client/test_subsession_management.py CLOSED TREE 2024-02-28 18:42:48 +02:00
Sam Foster
0b69b3a243 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-28 15:40:08 +00:00
Mike Conley
b85dcce676 Bug 1882171 - Stub out the beginnings of the BackupService. r=mossop,kpatenio,fchasen
This creates a new BackupService component that lives under browser/components/backup.
It doesn't do much yet, except allow itself to be instantiated (which currently occurs
using the idle scheduler in BrowserGlue) - but it does set us up to have docs, SphinxJS
exporting for JSDoc, linting, etc.

Differential Revision: https://phabricator.services.mozilla.com/D202753
2024-02-28 14:23:56 +00:00
Dana Keeler
f738a6874e Bug 1881335 - collect error page telemetry for TLS errors and non-overridable certificate errors r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D202350
2024-02-28 00:57:56 +00:00
James Teow
015c906917 Bug 1878219 - Move the core Categorization Map into a worker - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D201026
2024-02-20 22:15:43 +00:00
Mike Conley
6227d37b2c Bug 1878731 - Convert ASRouter to an ESM. r=emcminn,pip-reviewers,fxview-reviewers,omc-reviewers,sfoster,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D201138
2024-02-12 18:49:38 +00:00
Mike Conley
92d05e3eef Bug 1878731 - Convert ASRouterDefaultConfig to an ESM. r=emcminn,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201128
2024-02-12 18:49:36 +00:00
Mike Conley
d322adbf27 Bug 1878731 - Convert OnboardingMessageProvider to an ESM. r=emcminn,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201125
2024-02-12 18:49:35 +00:00
Niklas Baumgardner
bb40d6b5a8 Bug 1791086 - Select elements within iframes in screenshots. r=sfoster,mconley
Differential Revision: https://phabricator.services.mozilla.com/D195165
2024-02-09 22:02:51 +00:00
Tooru Fujisawa
a9a43831ea Bug 1878457 - Part 2: ESMify consumers of performance-new modules. r=julienw,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200559
2024-02-05 23:23:32 +00:00
Shane Hughes
abea1f993c Bug 1878036 - Fix review checker callout trigger timing. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D200371
2024-02-05 20:28:13 +00:00
Katherine Patenio
e4824bf0dd Bug 1876199 - update and add new callouts for rediscoverability experiment. r=shopping-reviewers,aminomancer,fluent-reviewers,bolsson,jhirsch,niklas
Patch changes:
- updates the original in-tree callouts 1-3 to run if `autoOpen.enabled` is false, so that they're not affected by the experiment when we flip the pref to true
- adds a revised callout 1 for the experiment, this time targeting not opted-in users and gating it behind `autoOpen.enabled` == true
- adds a revised callout 3 for the experiment which targets not opted-in users that already saw callout 1 and 24 hours have passed
- adds callout 4 that will be used when the user 1) selects "Yes, keep closed" or 2) disables auto-open behaviour via the settings toggle. It is gated behind `autoOpen.enabled` == true
- adds callout 5 that will be used when the user opts out of Review Checker via the opt-out button in settings. It is gated behind `autoOpen.enabled` == true

Differential Revision: https://phabricator.services.mozilla.com/D200072
2024-02-02 18:45:28 +00:00
Niklas Baumgardner
8ca8704fc6 Bug 1876200 - Add keep closed shopping message bar. r=shopping-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,kpatenio,jules
Differential Revision: https://phabricator.services.mozilla.com/D199743
2024-02-02 14:05:30 +00:00
Tooru Fujisawa
a1803f69f4 Bug 1877491 - Reporting unused lazy property on the property's line. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D200045
2024-01-31 18:57:03 +00:00
Mike Conley
ab18bd7d99 Bug 1868838 - Move OnboardingMessageProvider to browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198997
2024-01-29 18:52:28 +00:00
Mike Conley
db503acdb4 Bug 1868838 - Move ASRouter into browser/components/asrouter/modules. r=pdahiya,pip-reviewers,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198874
2024-01-29 18:52:20 +00:00
Mike Conley
9dc80f4a0e Bug 1868838 - Move ASRouterNewTabHook into browser/components/asrouter/modules. r=pdahiya
This causes the mocha/chai tests for newtab to break because of the failure
to import the ASRouterNewTabHook module from within ASRouterParent. This will
get fixed in the next patch in the stack which moves the actors.

Differential Revision: https://phabricator.services.mozilla.com/D198871
2024-01-29 18:52:19 +00:00
Mike Conley
5c43afe6bb Bug 1868838 - Move ASRouterDefaultConfig into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198866
2024-01-29 18:52:16 +00:00
Hanna Jones
06f64c0cdb Bug 1845150 - Use moz-message-bar instead of message-bar in notificationbox.js r=webdriver-reviewers,desktop-theme-reviewers,media-playback-reviewers,karlt,whimboo,tgiles,dao,devtools-reviewers
This patch updates the `NotificationMessage` element in `notificationbox.js` so that it extends our newer `moz-message-bar` component instead of the deprecated `message-bar` component. Many of the changes are just dealing with the implications of making things async (so that we can ensure `moz-message-bar.mjs` gets imported). I tried to break out places where I modified related code and tests into separate patches to mitigate some of the review pain here.

This patch solves a longstanding issue where we were loading `in-content/common-shared.css` in the chrome since it gets used by the `message-bar` element. It also makes some small visual changes to our infobars (slight outline, icon colors, adds a bit of spacing).

Differential Revision: https://phabricator.services.mozilla.com/D189872
2024-01-10 18:55:29 +00:00
Norisz Fay
0847da64fd Backed out 7 changesets (bug 1845150) for causing failures on browser_datachoices_notification.js CLOSED TREE
Backed out changeset a07c835a4bf7 (bug 1845150)
Backed out changeset 0016d7f4e556 (bug 1845150)
Backed out changeset 46cfe5fe6e6a (bug 1845150)
Backed out changeset 83190b8a08d0 (bug 1845150)
Backed out changeset ada948351267 (bug 1845150)
Backed out changeset 7aa4340bfd96 (bug 1845150)
Backed out changeset 683745289588 (bug 1845150)
2024-01-05 18:52:01 +02:00
Hanna Jones
323d6b5f81 Bug 1845150 - Use moz-message-bar instead of message-bar in notificationbox.js r=webdriver-reviewers,desktop-theme-reviewers,media-playback-reviewers,karlt,whimboo,tgiles,dao,devtools-reviewers
This patch updates the `NotificationMessage` element in `notificationbox.js` so that it extends our newer `moz-message-bar` component instead of the deprecated `message-bar` component. Many of the changes are just dealing with the implications of making things async (so that we can ensure `moz-message-bar.mjs` gets imported). I tried to break out places where I modified related code and tests into separate patches to mitigate some of the review pain here.

This patch solves a longstanding issue where we were loading `in-content/common-shared.css` in the chrome since it gets used by the `message-bar` element. It also makes some small visual changes to our infobars (slight outline, icon colors, adds a bit of spacing).

Differential Revision: https://phabricator.services.mozilla.com/D189872
2024-01-05 15:04:18 +00:00