[meta] Rename ToU datareporting.policy.dataSubmissionPolicy* prefs
Categories
(Firefox :: Messaging System, task, P1)
Tracking
()
People
(Reporter: cpeterson, Assigned: mviar)
References
(Depends on 1 open bug, Blocks 4 open bugs)
Details
(Keywords: feature-testing-meta, Whiteboard: [tos])
Attachments
(1 file)
We current record that the user has accepted the ToU using the datareporting.policy.dataSubmissionPolicyNotifiedTime
and datareporting.policy.dataSubmissionPolicyAcceptedVersion
prefs. Bobby recommends some changes to these prefs
- Prefs tracking ToU acceptance and prompt bypass are appropriately-named (i.e. they say
termsofuse
and don’t have any mention of “data reporting”) - Not having the legacy telemetry control be renamed to have “ToU” in it
- Not having any of this stuff gated by
MOZ_DATA_REPORTING
as it currently is. - Nice-to-have: straightforward name and function, dropping “policy version”
The new prefs should carry forward the old pref values for users that have accepted the ToU.
Assignee | ||
Comment 1•3 months ago
|
||
Reporter | ||
Comment 2•3 months ago
|
||
We don't need to uplift this pref change to 139.
How will these pref changes affect the enterprise policy flag to pre-accept ToS (bug 1954128) or sync the ToS acceptance state across multiple and new user profiles (bug 1933264)?
Or the Nimbus advanced targeting for users who haven't accepted the ToU yet? https://github.com/mozilla/experimenter/pull/12596#issuecomment-2859412454
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 3•3 months ago
•
|
||
This should also update the ToS enterprise policy and prefs shared across profiles.
We'll need some clarification on whether or not accepting ToS should still update the legacy datareporting.policy.*
prefs in addition to setting the new ToS specific prefs.
Reporter | ||
Comment 4•3 months ago
|
||
QA request to test the pref migration: https://mozilla-hub.atlassian.net/browse/QA-3988
Reporter | ||
Comment 5•3 months ago
|
||
Meg recommends that we land and test these new prefs in Nightly 141 instead of 140.
Assignee | ||
Updated•3 months ago
|
Comment 7•2 months ago
•
|
||
One concern that came up in the #tos-new-users Slack and one of meetings: could the fact that it's possible for new version numbers to be the same as (or less than) old version numbers make it harder to detect if there are weird bugs & edge cases that we haven't thought of? If, instead, we started the new version number at (say) 4, there's no overlap - anything that shows up in the telemetry as less than four is an anomaly/bug, and the numbers in a given profile should never go backwards. Meg, what are your thoughts here?
Reporter | ||
Updated•2 months ago
|
Updated•2 months ago
|
Assignee | ||
Comment 8•2 months ago
|
||
(In reply to Dan Mosedale (:dmosedale, :dmose) from comment #7)
One concern that came up in the #tos-new-users Slack and one of meetings: could the fact that it's possible for new version numbers to be the same as (or less than) old version numbers make it harder to detect if there are weird bugs & edge cases that we haven't thought of? If, instead, we started the new version number at (say) 4, there's no overlap - anything that shows up in the telemetry as less than four is an anomaly/bug, and the numbers in a given profile should never go backwards. Meg, what are your thoughts here?
I think that's a good idea Dan, and I don't see any risk associated with doing so. I can update the patch accordingly.
Comment 9•2 months ago
|
||
@mviar It occurs to me just now that we will also need to update the advanced targeting as well, but it should a very trivial update.
Updated•2 months ago
|
Assignee | ||
Comment 10•2 months ago
•
|
||
@dmosedale yes, good call out there. I filed an issue to update here.
Updated•2 months ago
|
Updated•2 months ago
|
Assignee | ||
Comment 12•2 months ago
|
||
No official decision here, though I've moved forward with the assumption we do not want to keep the legacy prefs set to the old values so that we can differentiate users who have accepted TOU, the legacy data reporting policy, or both.
NIing Chris and Venetia to see if they have thoughts and otherwise will raise in this week's sync.
Reporter | ||
Comment 13•2 months ago
|
||
(In reply to Meg Viar [:mviar] from comment #3)
We'll need some clarification on whether or not accepting ToS should still update the legacy
datareporting.policy.*
prefs in addition to setting the new ToS specific prefs.
(In reply to Meg Viar [:mviar] from comment #12)
No official decision here, though I've moved forward with the assumption we do not want to keep the legacy prefs set to the old values so that we can differentiate users who have accepted TOU, the legacy data reporting policy, or both.
We do not want to set or leave the legacy prefs in the user's profile. We want users to only see the new pref names in about:config. Of course, the code will still need to know about the legacy pref names to implement the pref migration.
Comment 14•2 months ago
|
||
Agreed.
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Comment 16•1 month ago
|
||
Comment 17•1 month ago
|
||
bugherder |
Updated•26 days ago
|
Comment 18•26 days ago
|
||
Verified as fixed in our latest Nightly build 142.0a1 (2025-07-14)
Updated•24 days ago
|
Updated•24 days ago
|
Reporter | ||
Updated•20 days ago
|
Updated•18 days ago
|
Comment 19•13 days ago
|
||
Updating the main status flag.
Description
•