tor-browser

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

commit 384b70cdf5968d43feb375730c2229906f774bd4
parent 3c4955942942bed266537859d1c158f2fa4bef79
Author: Drew Willcoxon <adw@mozilla.com>
Date:   Mon,  3 Nov 2025 19:50:02 +0000

Bug 1995896 - Add `termsofuse.acceptedDate` pref to Nimbus desktop client targeting context metrics and recorder. r=beth

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

Diffstat:
Mtoolkit/components/nimbus/lib/TargetingContextRecorder.sys.mjs | 1+
Mtoolkit/components/nimbus/metrics.yaml | 5+++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/toolkit/components/nimbus/lib/TargetingContextRecorder.sys.mjs b/toolkit/components/nimbus/lib/TargetingContextRecorder.sys.mjs @@ -237,6 +237,7 @@ export const PREFS = Object.freeze({ "nimbus.qa.pref-1": PREF_STRING, "nimbus.qa.pref-2": PREF_STRING, "security.sandbox.content.level": PREF_INT, + "termsofuse.acceptedDate": PREF_STRING, "trailhead.firstrun.didSeeAboutWelcome": PREF_BOOL, }); diff --git a/toolkit/components/nimbus/metrics.yaml b/toolkit/components/nimbus/metrics.yaml @@ -33,6 +33,7 @@ nimbus_targeting_environment: - https://bugzilla.mozilla.org/show_bug.cgi?id=1967328 - https://bugzilla.mozilla.org/show_bug.cgi?id=1983122 - https://bugzilla.mozilla.org/show_bug.cgi?id=1997164 + - https://bugzilla.mozilla.org/show_bug.cgi?id=1995896 data_reviews: &targeting_context_data_reviews - https://bugzilla.mozilla.org/show_bug.cgi?id=1928107 - https://bugzilla.mozilla.org/show_bug.cgi?id=1937207 @@ -44,6 +45,7 @@ nimbus_targeting_environment: - https://bugzilla.mozilla.org/show_bug.cgi?id=1967328 - https://bugzilla.mozilla.org/show_bug.cgi?id=1983122 - https://bugzilla.mozilla.org/show_bug.cgi?id=1997164 + - https://bugzilla.mozilla.org/show_bug.cgi?id=1995896 notification_emails: &targeting_context_notification_emails - beth@mozilla.com - project-nimbus@mozilla.com @@ -97,6 +99,7 @@ nimbus_targeting_environment: - "nimbus.qa.pref-1" - "nimbus.qa.pref-2" - "security.sandbox.content.level" + - "termsofuse.acceptedDate" - "trailhead.firstrun.didSeeAboutWelcome" attr_eval_errors: @@ -218,6 +221,8 @@ nimbus_targeting_environment: type: number security__sandbox__content__level: type: number + termsofuse__acceptedDate: + type: string trailhead__firstrun__didSeeAboutWelcome: type: boolean