Commit Graph

459 Commits

Author SHA1 Message Date
Florian Quèze
b4b0d27e43 Bug 1935420 - Migrate histograms to use Glean APIs in toolkit/components/antitracking, r=chutten,anti-tracking-reviewers,firefox-desktop-core-reviewers ,emz,mossop.
Differential Revision: https://phabricator.services.mozilla.com/D234069
2025-01-27 13:42:15 +00:00
Mike Conley
33e00ac976 Bug 1942144 - Move AboutNewTab JSWindowActor registration to AboutNewTabService. r=firefox-desktop-core-reviewers ,home-newtab-reviewers,Gijs,thecount
This makes the AboutNewTabChild DOMContentLoaded event handler capturing in
order to ensure that it injects the contentTheme.js script before the
LightweightThemeChild fires its LightweightTheme:Set event. This worked
before by virtue of actor registration order (which this patch changes).

Differential Revision: https://phabricator.services.mozilla.com/D234590
2025-01-24 21:33:56 +00:00
Mathieu Leplatre
2fb5433cde Bug 1786310 - Offboard the main/public-suffix-list Remote Settings collection r=valentin,Gijs,necko-reviewers,firefox-desktop-core-reviewers
Reverts the work done in:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1563226
- https://bugzilla.mozilla.org/show_bug.cgi?id=1582647
- https://bugzilla.mozilla.org/show_bug.cgi?id=1563246

Differential Revision: https://phabricator.services.mozilla.com/D234356
2025-01-22 15:55:42 +00:00
Meg Viar
de889acc9a Bug 1941896 - Add ability to show preonboarding modal persistently until interacted with r=jprickett,hanna_a
Add ability to show the preonboarding modal on every startup until a configured "interactionPref" is set to true, typically via interaction with the primary CTA.

Differential Revision: https://phabricator.services.mozilla.com/D234406
2025-01-17 21:13:03 +00:00
Meg Viar
3bd09d7884 Bug 1941350 - Add preonboarding modal Nimbus feature r=firefox-desktop-core-reviewers ,omc-reviewers,negin
- Add `preonboarding` Nimbus feature for showing a window modal over about:welcome that cannot be dismissed via ESC
- Include the ability to suppress showing the privacy notice tab on first run using a variable under the new `preonboarding` feature
- Remove legacy `showModal` related `aboutwelcome` Nimbus feature variables (these are not in use and were for [[ https://experimenter.services.mozilla.com/nimbus/window-modal-vs-tab-modal/summary | an old experiment ]])

Differential Revision: https://phabricator.services.mozilla.com/D234039
2025-01-17 15:18:15 +00:00
Butkovits Atila
6827b521ec Backed out changeset d43df6d45f03 (bug 1786310) for causing failures at nsEffectiveTLDService.cpp. CLOSED TREE 2025-01-17 15:02:28 +02:00
Mathieu Leplatre
24dad11c20 Bug 1786310 - Offboard the main/public-suffix-list Remote Settings collection r=valentin,Gijs,necko-reviewers,firefox-desktop-core-reviewers
Reverts the work done in:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1563226
- https://bugzilla.mozilla.org/show_bug.cgi?id=1582647
- https://bugzilla.mozilla.org/show_bug.cgi?id=1563246

Differential Revision: https://phabricator.services.mozilla.com/D234356
2025-01-17 11:47:30 +00:00
Stanca Serban
b272d96a83 Backed out changeset 7ebf2aee0c7b (bug 1941350) for causing xpcshell failures in test_TelemetryReportingPolicy.js. CLOSED TREE 2025-01-16 19:51:43 +02:00
Meg Viar
9317d6a34e Bug 1941350 - Add TOU preonboarding modal Nimbus feature r=firefox-desktop-core-reviewers ,omc-reviewers,negin
- Add `preonboarding` Nimbus feature for showing a window modal over about:welcome that cannot be dismissed via ESC
- Include the ability to suppress showing the privacy notice tab on first run using a variable under the new `preonboarding` feature
- Remove legacy `showModal` related `aboutwelcome` Nimbus feature variables (these are not in use and were for [[ https://experimenter.services.mozilla.com/nimbus/window-modal-vs-tab-modal/summary | an old experiment ]])

Differential Revision: https://phabricator.services.mozilla.com/D234039
2025-01-16 16:00:13 +00:00
Fatih
347fe5d450 Bug 1448423: Skip earlyBlankFirstPaint if RoundWindowSize RFP target is enabled. r=tjr,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D224240
2025-01-16 13:35:46 +00:00
Nick Alexander
5d2870189e Bug 1921218 - Part 3: Usage reporting preference inherits general preference. r=chutten,TravisLong,firefox-desktop-core-reviewers ,mak
This commit makes the usage reporting preference inherit the general
data reporting preference for existing Firefox users.  New Firefox
users will use the default usage reporting preference value, which is
enabled by default.  Future onboarding changes will likely impact the
default usage reporting preference value.

Differential Revision: https://phabricator.services.mozilla.com/D232569
2025-01-15 23:13:25 +00:00
Nick Alexander
9ed45850dd Bug 1921218 - Part 2: Connect usage reporting Gecko preference to Glean. r=chutten,TravisLong,firefox-desktop-core-reviewers
This commit "splits the difference", putting as much behaviour as
convenient into a new `UsageReporting` module while still connecting to
`TelemetryControllerParent`.  The latter connection keeps testing
consistent; tests can assume that preference listeners, etc, are
registered.

The usage ID is preserved sibling to other client IDs in the "data
reporting state" bundle.  In the future, it might make sense to keep
the usage ID only as a Glean metric, but that might require a
migration and some code restructuring.  For expedience, I will keep
the existing implementation.

Differential Revision: https://phabricator.services.mozilla.com/D231995
2025-01-15 23:13:24 +00:00
Helena
651b2cfe37 Bug 1915672 - Add Telemetry for OSAuth for Formautofill and about:logins. r=dimi,mtigley,settings-reviewers,firefox-desktop-core-reviewers ,joschmidt
Differential Revision: https://phabricator.services.mozilla.com/D232339
2025-01-15 21:55:20 +00:00
Alexandru Marc
5a4a4de260 Backed out 2 changesets (bug 1448423) for causing bc failures @ browser_startup.js
Backed out changeset 93e49e407bc1 (bug 1448423)
Backed out changeset ac0d0fe55391 (bug 1448423)
2025-01-15 23:14:01 +02:00
Fatih
525b98402b Bug 1448423: Skip earlyBlankFirstPaint if RoundWindowSize RFP target is enabled. r=tjr,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D224240
2025-01-15 18:17:54 +00:00
Butkovits Atila
7d5fe6b5ca Backed out changeset 9e414abada40 (bug 1915672) for causing failures at browser_glean_metrics_exist.js. 2025-01-15 16:03:47 +02:00
Helena
48a5fff8dd Bug 1915672 - Add Telemetry for OSAuth for Formautofill and about:logins. r=dimi,mtigley,settings-reviewers,firefox-desktop-core-reviewers ,joschmidt
Differential Revision: https://phabricator.services.mozilla.com/D232339
2025-01-15 12:27:33 +00:00
Sammy Khamis
b095b5ae27 Bug 1901666: Move Account-related code into its own BrowserGlue r=markh,Gijs,sync-reviewers,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D233316
2025-01-14 18:56:55 +00:00
Fred Chasen
0f35a787ae Bug 1921576 - Fix close button for Review Checker sidebar. r=shopping-reviewers,firefox-desktop-core-reviewers ,kpatenio
* Sends a `CloseShoppingSidebar` message on clicking the shopping header close button to allow the `ReviewCheckerParent` to close the sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D228281
2024-12-18 21:49:02 +00:00
Meg Viar
5567720814 Bug 1933293 - Rework aboutWelcome modal behavior to still show about:welcome page and make requiring action to proceed configurable r=firefox-desktop-core-reviewers ,mossop,pdahiya
This patch updates the logic that prevents about:welcome from showing when the Nimbus `aboutWelcome` `showModal` variable is set to true. If separate screens for the modal are provided, it can now be shown on top of the default onboarding flow in about:welcome.

A `requireAction` variable that sets the modal to be a window modal requiring action (other than pressing ESC) to dismiss is also added to the `aboutWelcome` Nimbus feature

Differential Revision: https://phabricator.services.mozilla.com/D230185
2024-12-18 19:04:43 +00:00
Fatih
1c7d8d2aa1 Bug 1913421: Submit ping with at least 24 hour delay since last submission or on pref changes. r=mossop,geckoview-reviewers,tjr,tthibaud
We submit the ping with at least 24 hours delay in between to not spam with pings. When we receive a new captcha event,
we'll check the last submission time and submit the ping if it's been more than 24 hours since the last submission.

Differential Revision: https://phabricator.services.mozilla.com/D226023
2024-12-18 16:17:05 +00:00
Fred Chasen
b173af01b4 Bug 1921570 - Part 2: Render AboutWelcome in the new sidebar. r=shopping-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,kpatenio,pdahiya
- Update `AboutWelcomeShopping` actors to include the sidebar review checker message manager group.
- Update `AWSetProductURL` to handle when a URL is not passed, which will happen on non-product pages.

Differential Revision: https://phabricator.services.mozilla.com/D223431
2024-12-17 20:51:47 +00:00
Stanca Serban
48bbabbc35 Backed out 17 changesets (bug 1913421) for causing mochitests-plain failures in test_arkose_labs.html. CLOSED TREE
Backed out changeset 7eda60115372 (bug 1913421)
Backed out changeset 5f1bb8cea1d5 (bug 1913421)
Backed out changeset 22084dc8fbb0 (bug 1913421)
Backed out changeset d5f36da0c01f (bug 1913421)
Backed out changeset 2fbc4c09d4f0 (bug 1913421)
Backed out changeset 8ca6f7399e31 (bug 1913421)
Backed out changeset cc2acc1bd560 (bug 1913421)
Backed out changeset 335767ea0138 (bug 1913421)
Backed out changeset ba58924faee8 (bug 1913421)
Backed out changeset b36e090e8715 (bug 1913421)
Backed out changeset f6850c74997a (bug 1913421)
Backed out changeset 7f54b1a2c565 (bug 1913421)
Backed out changeset 2459730a7e10 (bug 1913421)
Backed out changeset afd89f58cab0 (bug 1913421)
Backed out changeset cd2258c3f8e3 (bug 1913421)
Backed out changeset 51f94cd7e9e5 (bug 1913421)
Backed out changeset 849674119c65 (bug 1913421)
2024-12-17 17:50:34 +02:00
Fatih
c2c06356a7 Bug 1913421: Submit ping with at least 24 hour delay since last submission or on pref changes. r=mossop,geckoview-reviewers,tjr,tthibaud
We submit the ping with at least 24 hours delay in between to not spam with pings. When we receive a new captcha event,
we'll check the last submission time and submit the ping if it's been more than 24 hours since the last submission.

Differential Revision: https://phabricator.services.mozilla.com/D226023
2024-12-17 13:09:09 +00:00
Fred Chasen
2a40aed615 Bug 1916547 - Part 1: Render Review Checker in the new sidebar. r=shopping-reviewers,firefox-desktop-core-reviewers ,sidebar-reviewers,sclements,mossop,kpatenio
- Adds a remote content browser to contain `about:shoppingsidebar` in `review-checker.xhtml` and update the Review Checker sidebar to use that wrapper document.
- Adds ReviewChecker actors for the sidebar Review Checker panel.
- ReviewCheckerParent is a simplified version of the ShoppingSidebarParent as it does not need to handle the state of the sidebar opening or closing.
- ReviewCheckerChild is just extends ShoppingSidebarChild for now, though it will need to be separate in the future.
- Adds a browser.shopping.experience2023.shoppingSidebar boolean pref to disable ShoppingSidebar actors when they are not needed.
- Fixes `AbortError` error handling when the outer sidebar browser is removed.

Note that any auto-opening or closing behavior will need to be added afterwards, as these actors are not around to check product urls when the sidebar is closed.

Differential Revision: https://phabricator.services.mozilla.com/D222840
2024-12-12 01:24:20 +00:00
Chris H-C
4eb6d15f40 Bug 1936036 - Replace flag histogram MASTER_PASSWORD_ENABLED r=mtigley,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D231559
2024-12-10 20:02:52 +00:00
Dave Townsend
0dfe4b8340 Bug 1935582: Ensure that remote messages that impact profiles come from the correct process type. r=dveditz,firefox-desktop-core-reviewers ,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D231358
2024-12-09 09:28:00 +00:00
hanna.alemu
50ffb1e5e7 Bug 1931926 - Store Timestamp of Default Modal Prompt last seen r=firefox-desktop-core-reviewers ,omc-reviewers,mviar,mossop
Differential Revision: https://phabricator.services.mozilla.com/D229967
2024-12-02 14:59:11 +00:00
Logan Rosen
d24c9d9ff4 Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D230598
2024-11-29 15:18:25 +00:00
Emilio Cobos Álvarez
feebe3d11d Bug 1930292 - Turn chromemargin into a boolean attribute. r=win-reviewers,desktop-theme-reviewers,pip-reviewers,firefox-desktop-core-reviewers ,dao,mconley,rkraesig
There are probably other simplifications that can be done after this on the
windows side of things, but I tried to keep this minimal.

Differential Revision: https://phabricator.services.mozilla.com/D229765
2024-11-28 12:12:50 +00:00
Emilio Cobos Álvarez
dcf6dc5521 Bug 1930292 - Stop setting non-zero chromemargin values. r=win-reviewers,handyman,firefox-desktop-core-reviewers ,dao
These only do something on Windows, and after windows 7 they are not
useful at all.

If this has no fallout I plan to simplify the code further in a
follow-up (we can basically make this a boolean attribute again or so).

Differential Revision: https://phabricator.services.mozilla.com/D228528
2024-11-28 12:12:49 +00:00
Cristina Horotan
bb08cc9f1d Backed out 5 changesets (bug 1930292, bug 1932600) for causing chrome failures at test_maximized_persist.xhtml on a CLOSED TREE
Backed out changeset 2418bfee53f1 (bug 1932600)
Backed out changeset 3297e990715a (bug 1932600)
Backed out changeset 24a670dea977 (bug 1930292)
Backed out changeset 7dd9f48216dd (bug 1930292)
Backed out changeset 15a85ec739dd (bug 1930292)
2024-11-28 06:57:35 +02:00
Emilio Cobos Álvarez
67678746e6 Bug 1930292 - Turn chromemargin into a boolean attribute. r=win-reviewers,desktop-theme-reviewers,pip-reviewers,firefox-desktop-core-reviewers ,dao,mconley,rkraesig
There are probably other simplifications that can be done after this on the
windows side of things, but I tried to keep this minimal.

Differential Revision: https://phabricator.services.mozilla.com/D229765
2024-11-28 03:26:50 +00:00
Emilio Cobos Álvarez
e974845dc9 Bug 1930292 - Stop setting non-zero chromemargin values. r=win-reviewers,handyman,firefox-desktop-core-reviewers ,dao
These only do something on Windows, and after windows 7 they are not
useful at all.

If this has no fallout I plan to simplify the code further in a
follow-up (we can basically make this a boolean attribute again or so).

Differential Revision: https://phabricator.services.mozilla.com/D228528
2024-11-28 03:26:49 +00:00
Sandor Molnar
7d50bb6e2e Backed out changeset c4369fa6e979 (bug 1921471) for causing bc failures @ browser_sidebar_remote.js & browser_unavailable_product.js CLOSED TREE 2024-11-26 00:30:14 +02:00
jabram
ad7b1e649c Bug 1451132 - Provide option to close current tab on quit r=fluent-reviewers,reusable-components-reviewers,mconley,settings-reviewers,mossop,accessibility-frontend-reviewers,mstriemer,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D223374
2024-11-25 21:03:45 +00:00
Fred Chasen
5c68a50632 Bug 1921471 - Use content process to display sidebar contents when appropriate. r=places-reviewers,sidebar-reviewers,mossop,firefox-desktop-core-reviewers ,jsudiaman
* Adds a `remoteType` attribute to the config when registering a sidebar to opt-in to using a remote content process when displaying that sidebar panel.
* Moves loading URLs into a `SidebarController._loadUrl` method, which can be passed a remoteType if the sidebar contents should be displayed in a remote content process. If needed it will replace the sidebar browser element with a remote or non-remote browser to match the remoteType passed.
* Adds browser load listeners methods, a `SidebarController._hasLoaded` promise for non-remote loading and a `SidebarController._hasProgressStopped` promise if the browser is remote.
* Adds a setter for `SidebarController.browser`.
* Adds a `shopping-sidebar` message manager group to avoid actor conflict.

Differential Revision: https://phabricator.services.mozilla.com/D223961
2024-11-25 18:22:14 +00:00
Adi
a1f2bdd9ab Backed out changeset 04f7f20bf82e (bug 1921471) for causing bc failures @browser_syncedtabs_sidebar.js. 2024-11-21 21:25:07 +02:00
Fred Chasen
8dcd4eee5d Bug 1921471 - Use content process to display sidebar contents when appropriate. r=places-reviewers,sidebar-reviewers,mossop,firefox-desktop-core-reviewers ,jsudiaman
* Adds a `remoteType` attribute to the config when registering a sidebar to opt-in to using a remote content process when displaying that sidebar panel.
* Moves loading URLs into a `SidebarController._loadUrl` method, which can be passed a remoteType if the sidebar contents should be displayed in a remote content process. If needed it will replace the sidebar browser element with a remote or non-remote browser to match the remoteType passed.
* Adds browser load listeners methods, a `SidebarController._hasLoaded` promise for non-remote loading and a `SidebarController._hasProgressStopped` promise if the browser is remote.
* Adds a setter for `SidebarController.browser`.
* Adds a `shopping-sidebar` message manager group to avoid actor conflict.

Differential Revision: https://phabricator.services.mozilla.com/D223961
2024-11-21 17:36:56 +00:00
hanna alemu
f2b065e5bb Bug 1825381 - Create experimental set to default prompt-style spotlight and enable showing via Nimbus r=mviar,omc-reviewers,firefox-desktop-core-reviewers ,mossop,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D225699
2024-11-20 18:04:46 +00:00
Jan-Erik Rediger
fb37eb33a4 Bug 1926829 - Handle usage profile ID in ClientID.sys.mjs r=chutten,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D226766
2024-11-06 13:30:07 +00:00
Dave Townsend
4ea798a326 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-05 12:59:04 +00:00
Stanca Serban
7bfaea64ba Backed out changeset 101063793364 (bug 1894239) for causing mochitests failures in browser_sentence_case_strings.js. CLOSED TREE 2024-11-04 20:39:11 +02:00
Dave Townsend
09c0a011d8 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-04 16:20:41 +00:00
Goloman Adrian
43172c6f10 Backed out changeset 4aeabb1fca7f (bug 1894239) for causing bc failures @browser_parsable_css.js. CLOSED TREE 2024-11-04 17:11:24 +02:00
Dave Townsend
658587a8e9 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-04 13:19:59 +00:00
Goloman Adrian
a536e48199 Backed out changeset 07b4dffd9109 (bug 1894239) for causing bc failures @browser_all_files_referenced.js. CLOSED TREE 2024-11-04 14:50:12 +02:00
Dave Townsend
d23817862a Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-04 11:15:32 +00:00
Goloman Adrian
8d0a2fbb16 Backed out changeset 6539a7d0d9ca (bug 1894239) for causing xpcshell failures at test_selectable_profile_launch.js. CLOSED TREE 2024-11-01 20:43:36 +02:00
Dave Townsend
0085ce80d2 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-01 17:08:27 +00:00