tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 2aee4803764a306053a363386eb40fcc9b187f4e
parent de5f8a258fdb0ccec090e36be3737704221612ff
Author: Mike Conley <mconley@mozilla.com>
Date:   Mon, 20 Oct 2025 16:27:30 +0000

Bug 1992486 - Update runtime metrics for newtab. r=home-newtab-reviewers,maxx

Differential Revision: https://phabricator.services.mozilla.com/D267485

Diffstat:
Dbrowser/extensions/newtab/webext-glue/metrics/runtime-metrics-143.json | 27---------------------------
Mbrowser/extensions/newtab/webext-glue/metrics/runtime-metrics-144.json | 7+++++++
Abrowser/extensions/newtab/webext-glue/metrics/runtime-metrics-145.json | 14++++++++++++++
3 files changed, 21 insertions(+), 27 deletions(-)

diff --git a/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-143.json b/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-143.json @@ -1,27 +0,0 @@ -{ - "metrics": { - "newtab": { - "weather_detect_location": { - "description": "Recorded when a user selects 'detect my location' from weather context menu\n", - "disabled": false, - "extraArgs": { - "allowed_extra_keys": ["newtab_visit_id"] - }, - "lifetime": "ping", - "pings": ["newtab"], - "type": "event" - }, - "weather_opt_in_selection": { - "description": "Recorded when a user answers the location opt-in prompt\n", - "disabled": false, - "extraArgs": { - "allowed_extra_keys": ["newtab_visit_id", "user_selection"] - }, - "lifetime": "ping", - "pings": ["newtab"], - "type": "event" - } - } - }, - "pings": {} -} diff --git a/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-144.json b/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-144.json @@ -1,6 +1,13 @@ { "metrics": { "newtab": { + "highlights_enabled": { + "description": "Whether \"highlights\" is enabled on the newtab. AKA the \"Recent Activity\" section. Corresponds to the value of the `browser.newtabpage.activity-stream.feeds.section.highlights` pref.\n", + "disabled": false, + "lifetime": "application", + "pings": ["newtab"], + "type": "boolean" + }, "weather_detect_location": { "description": "Recorded when a user selects 'detect my location' from weather context menu\n", "disabled": false, diff --git a/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-145.json b/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-145.json @@ -0,0 +1,14 @@ +{ + "metrics": { + "newtab": { + "highlights_enabled": { + "description": "Whether \"highlights\" is enabled on the newtab. AKA the \"Recent Activity\" section. Corresponds to the value of the `browser.newtabpage.activity-stream.feeds.section.highlights` pref.\n", + "disabled": false, + "lifetime": "application", + "pings": ["newtab"], + "type": "boolean" + } + } + }, + "pings": {} +}