Commit Graph

4054 Commits

Author SHA1 Message Date
Mike Conley
5968da9bd5 Bug 1968779 - Wait for builtin-newtab.js to signal that it has finished onStartup before allowing ActivityStream to be instantiated. a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D251397

Differential Revision: https://phabricator.services.mozilla.com/D251721
2025-05-29 15:57:52 +00:00
Rolf Rando
e13051d979 Bug 1968074 - Fix truncated inferred interests ping r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D250825
2025-05-22 22:13:30 +00:00
Mike Conley
79a91cfbdd Bug 1965923 - Wait for the newtab readyPromise even after waiting for the addon database. r=willdurand,home-newtab-reviewers,maxx
Differential Revision: https://phabricator.services.mozilla.com/D248980
2025-05-21 17:32:02 +00:00
Rolf Rando
7feb39fcfb Bug 1966796 - Audit new tab content telemetry, add support for interest vector r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D249864
2025-05-20 06:31:47 +00:00
Nathan Barrett
a4b14db307 Bug 1964428 - Remove coarse_os_version and add country to newtab-content ping r=home-newtab-reviewers,amy
Differential Revision: https://phabricator.services.mozilla.com/D247788
2025-05-16 14:33:01 +00:00
Punam Dahiya
431714c34a Bug 1965278 - Telemetry probe to record ActivityStream construct success r=home-newtab-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D249120
2025-05-15 20:57:18 +00:00
Mike Conley
6ba63f45fd Bug 1966209 - Remove newtab_visit_id from newtab-content ping. r=nbarrett,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D249134
2025-05-15 19:18:55 +00:00
Cristian Tuns
f2b97e2ffe Revert "Bug 1964428 - Remove coarse_os_version and add country to newtab-content ping r=home-newtab-reviewers,amy" for causing conflict when backing out Bug 1964445
This reverts commit 69f1aedced.
2025-05-13 00:56:07 +00:00
Nathan Barrett
69f1aedced Bug 1964428 - Remove coarse_os_version and add country to newtab-content ping r=home-newtab-reviewers,amy
Differential Revision: https://phabricator.services.mozilla.com/D247788
2025-05-12 20:52:44 +00:00
Maxx Crawford
1cf131befd Bug 1958135 - Update OPEN_NEW_WINDOW event to fire Glean telemetry event r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D244676
2025-04-29 18:23:12 +00:00
Beth Rennie
8325687e5d Bug 1962774 - Remove newtabPingEnabled variable from glean feature r=TravisLong,chutten,home-newtab-reviewers,mconley
The glean feature can control any ping via the gleanMetricConfiguration
now, so there is no need to have this variable any more. It is still
possible to disable the ping with a pref, so the test has been updated
to set that pref instead of doing a Nimbus enrollment.

Differential Revision: https://phabricator.services.mozilla.com/D246792
2025-04-28 18:30:18 +00:00
Nathan Barrett
0015e8f27f Bug 1962539 - Remove metadata from newtab and newtab-content pings r=home-newtab-reviewers,mconley,thecount
Differential Revision: https://phabricator.services.mozilla.com/D246675
2025-04-25 14:03:24 +00:00
Punam Dahiya
a2d9e9dd96 Bug 1961989 - Instrument NewTabGleanUtils to track success or failure of metric and ping registrations r=home-newtab-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D246510
2025-04-24 17:49:02 +00:00
Joel Maher
986c1b9cc2 Bug 1959265 - clean and sanitize browser/**/xpcshell.toml files. r=aryx,credential-management-reviewers,search-reviewers,sessionstore-reviewers,places-reviewers,omc-reviewers,migration-reviewers,backup-reviewers,home-newtab-reviewers,urlbar-reviewers,firefox-ai-ml-reviewers,profiles-reviewers,willdurand,tarek,dimi,jteow,sthompson,mconley,pdahiya,mossop
Differential Revision: https://phabricator.services.mozilla.com/D244829
2025-04-17 18:30:44 +00:00
Nathan Barrett
213e19759f Bug 1959136 - Update merino request and update content telemetry r=home-newtab-reviewers,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D244830
2025-04-15 20:58:03 +00:00
Nathan Barrett
f8be142d15 Bug 1958057 - Move content metrics to newtab-content ping r=home-newtab-reviewers,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D244227
2025-04-15 20:58:03 +00:00
Nathan Barrett
11866451db Bug 1956331 - Create newtab-content ping r=home-newtab-reviewers,TravisLong,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D243194
2025-04-15 20:58:03 +00:00
Goloman Adrian
694cce6c83 Backed out 3 changesets (bug 1956331, bug 1958057, bug 1959136) for causing python failures @test_no_metadata_use_ohttp.py. CLOSED TREE
Backed out changeset 615d0a6a02d4 (bug 1959136)
Backed out changeset 9ba3fc0c029b (bug 1958057)
Backed out changeset 19c304a5195a (bug 1956331)
2025-04-15 22:16:50 +03:00
Nathan Barrett
8517cdd962 Bug 1959136 - Update merino request and update content telemetry r=home-newtab-reviewers,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D244830
2025-04-15 18:16:25 +00:00
Nathan Barrett
379bcd1472 Bug 1958057 - Move content metrics to newtab-content ping r=home-newtab-reviewers,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D244227
2025-04-15 18:16:25 +00:00
Nathan Barrett
f2d43376fd Bug 1956331 - Create newtab-content ping r=home-newtab-reviewers,TravisLong,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D243194
2025-04-15 18:16:24 +00:00
Reem H
77a359e9f8 Bug 1954656 - Add telemetry for content reporting. r=home-newtab-reviewers,fluent-reviewers,flod,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D243391
2025-04-03 22:39:06 +00:00
Maxx Crawford
6fe87b72fe Bug 1954761 - Add card_size attr to section new tab events r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D243729
2025-04-02 21:00:46 +00:00
Maxx Crawford
8e281055e4 Bug 1957711 - Fix typo on is_section_followed metric r=home-newtab-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D244055
2025-04-01 21:47:02 +00:00
Jens Stutte
df8c195659 Bug 1955533 - Use appShutdownConfirmed instead of quitApplicationGranted in AboutHomeStartupCache. r=home-newtab-reviewers,mconley
And add a late init / resurrection check in init().

Differential Revision: https://phabricator.services.mozilla.com/D242493
2025-04-01 09:49:49 +00:00
Maxx Crawford
4629509ea0 Bug 1954763 - Update all events that occur within Sections component to include section_position r=home-newtab-reviewers,reemhamz
Differential Revision: https://phabricator.services.mozilla.com/D243207
2025-03-28 16:12:20 +00:00
Florian Quèze
e5afa21d7e Bug 1950710 - Migrate histograms to use Glean APIs for FX_ABOUTHOME_CACHE_CONSTRUCTION, r=home-newtab-reviewers,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D242559
2025-03-25 09:06:59 +00:00
Maxx Crawford
dfac12e0b5 Bug 1956028 - Update WALLPAPER_CLICK to include customWallpaper.uploadedPreviously telemetry data r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D242573
2025-03-24 18:07:34 +00:00
Mike Conley
f90d33eb1a Bug 1946564 - Part 1: Add AboutHomeStartupCache.clearCacheAndUninit method and test. r=home-newtab-reviewers,nbarrett
This also makes it so that we remove the shutdown blocker if we uninit.

Differential Revision: https://phabricator.services.mozilla.com/D240632
2025-03-17 01:47:07 +00:00
Mike Conley
573226f5c9 Bug 1953005 - Change how newtab xpcshell tests install built-in newtab addon. r=baku
This allows the tests to have the newtab built-in addon be installed
and enabled properly when running in automation.

Differential Revision: https://phabricator.services.mozilla.com/D241462
2025-03-14 20:18:49 +00:00
Mike Conley
00cb737310 Bug 1953005 - Have AboutNewTabRedirector wait for resource-mapping init rather than addon init to resume channels. r=willdurand,home-newtab-reviewers,amy
Waiting until the addon database is ready and the addonReady promise resolves
can take far, far too long, and cause regressions in our Talos tests. What
we really care about waiting for is resource-mapping.js having finished its
job to map resource://newtab and chrome://newtab URIs to the right places.

So we just have resource-mapping.js directly inform AboutNewTabRedirector
when that has occurred.

Differential Revision: https://phabricator.services.mozilla.com/D240939
2025-03-11 19:34:44 +00:00
Mike Conley
263aef573d Bug 1953005 - Make test_AboutNewTabRedirector.js more reliable in built-in addon case. r=home-newtab-reviewers,amy
It looks like attempting to create an nsIChannel / nsILoadInfo right at
the onset of an xpcshell test isn't a great idea and will fail intermittently
with NS_ERROR_NOT_AVAILABLE. This updates the test to create the nsIChannel
and nsILoadInfo in the add_task function instead.

Differential Revision: https://phabricator.services.mozilla.com/D240938
2025-03-11 19:34:43 +00:00
Mike Conley
e07e9b4cf3 Bug 1946569 - Part 3: Suspend all about:newtab or about:home channels until the built-in addon is ready. r=thecount,pdahiya,home-newtab-reviewers,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D237642
2025-03-06 14:55:27 +00:00
Mike Conley
87ebe80f1b Bug 1946569 - Part 2: Split out handling for about:newtab and about:home to a separate nsIAboutModule, replacing nsIAboutNewTabService. r=pdahiya,mossop,home-newtab-reviewers,omc-reviewers,chumphreys,thecount
Differential Revision: https://phabricator.services.mozilla.com/D237641
2025-03-06 14:55:26 +00:00
Punam Dahiya
3903db65e6 Bug 1899019 - Part 2 - Move FxMS metrics and pings definitions r=home-newtab-reviewers,omc-reviewers,mconley,negin
Differential Revision: https://phabricator.services.mozilla.com/D238892
2025-03-04 20:51:54 +00:00
Gijs Kruitbosch
ffd04c90fd Bug 1916469 - Move AboutHomeStartupCache into its own file. r=perftest-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,mossop,afinder,reemhamz
Differential Revision: https://phabricator.services.mozilla.com/D237226
2025-03-03 18:23:07 +00:00
Maxx Crawford
68761c3875 Bug 1943663 - Add telemetry events for custom wallpapers and custom color backgrounds r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D238824
2025-02-25 18:41:15 +00:00
Butkovits Atila
5e5cd00acd Backed out 3 changesets (bug 1949281, bug 1940312, bug 1943663) for cusing failures at browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 7c8b027a2bc7 (bug 1949281)
Backed out changeset 94f2ab50bf9a (bug 1943663)
Backed out changeset b24ada80cb0c (bug 1940312)
2025-02-24 17:16:01 +02:00
Maxx Crawford
8595037a72 Bug 1943663 - Add telemetry events for custom wallpapers and custom color backgrounds r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D238824
2025-02-24 13:04:58 +00:00
NyanRus
bf446c519d Bug 1949747 - valid JSDoc for AboutNewTabService r=home-newtab-reviewers,frontend-codestyle-reviewers,mconley
fix JSDoc of AboutNewtabService
remove browser/components/newtab from excludedFiles in .eslintrc-rollouts.js

Differential Revision: https://phabricator.services.mozilla.com/D239128
2025-02-21 15:14:42 +00:00
Punam Dahiya
1fd0f99f8e Bug 1940816 - Put newtab chrome and resource assets under chrome://newtab and resource://newtab r=home-newtab-reviewers,omc-reviewers,mconley,credential-management-reviewers,marco,emcminn,valentin,dimi CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D236880
2025-02-10 17:55:34 +00:00
Norisz Fay
29170cefc4 Backed out changeset 5785f202084e (bug 1940816) for causing Bpgo bustage CLOSED TREE 2025-02-11 06:11:10 +02:00
Punam Dahiya
7059cde7b0 Bug 1940816 - Put newtab chrome and resource assets under chrome://newtab and resource://newtab r=home-newtab-reviewers,omc-reviewers,mconley,credential-management-reviewers,marco,emcminn,valentin,dimi
Differential Revision: https://phabricator.services.mozilla.com/D236880
2025-02-10 17:55:34 +00:00
Nathan Barrett
d3d13b3782 Bug 1943474 - Add telemetry for inline topic selection r=home-newtab-reviewers,maxx
Differential Revision: https://phabricator.services.mozilla.com/D236603
2025-02-07 19:23:52 +00:00
Mike Conley
7f7421eb02 Bug 1938452 - Move browser/components/newtab eslintrc rules to browser/extensions/newtab. r=home-newtab-reviewers,frontend-codestyle-reviewers,Standard8,thecount
Differential Revision: https://phabricator.services.mozilla.com/D233876
2025-02-03 16:45:34 +00:00
Mike Conley
0cab9e0390 Bug 1938452 - Move newtab tests to browser/extensions/newtab. r=home-newtab-reviewers,omc-reviewers,frontend-codestyle-reviewers,pdahiya,thecount
This doesn't move test_AboutNewTab.js, as this test exercises the AboutNewTab
module under browser/modules/ and the AboutNewTabService component under
browser/components/newtab.

Differential Revision: https://phabricator.services.mozilla.com/D233873
2025-02-03 16:45:33 +00:00
Mike Conley
6884f344c5 Bug 1938452 - Move newtab content source code and build scripts to browser/extensions/newtab. r=home-newtab-reviewers,nbarrett,thecount
Differential Revision: https://phabricator.services.mozilla.com/D233869
2025-02-03 16:45:32 +00:00
Mike Conley
41b1a174c6 Bug 1938452 - Move newtab utility scripts to browser/extensions/newtab. r=home-newtab-reviewers,amy
Differential Revision: https://phabricator.services.mozilla.com/D233868
2025-02-03 16:45:32 +00:00
Mike Conley
3be3cbfe20 Bug 1938452 - Move newtab support code to browser/extensions/newtab. r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D233867
2025-02-03 16:45:31 +00:00
Mike Conley
829da877ed Bug 1938452 - Move newtab documentation to browser/extensions/newtab. r=omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,pdahiya,mossop,amy
Differential Revision: https://phabricator.services.mozilla.com/D233866
2025-02-03 16:45:30 +00:00