Repository navigation
Conversation
bsmth
requested changes
Nov 12, 2026
bsmth
left a comment
Collaborator
There was a problem hiding this comment.
Looking great, thanks. Examples looking super, some comments to consider about convention for values, let's try to keep it uniform.
murphyatmozilla
commented
Nov 12, 2026
bsmth
reviewed
Nov 13, 2026
bsmth
approved these changes
Nov 13, 2026
bsmth
left a comment
Collaborator
There was a problem hiding this comment.
A couple of suggestions, but looking good to me, thanks!
Co-authored-by: Brian Smith <brian@smith.berlin>
bsmth
approved these changes
Nov 16, 2026
bsmth
left a comment
Collaborator
There was a problem hiding this comment.
Looking great, let's merge! Thank you 👏🏻
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR improves the sync policy reference to better align with what is actually going on behind the scenes. This explanation is based on
SyncPolicy.sys.mjs, the policy update logic inEnterprisePoliciesParent.sys.mjs, the pref helpers inPoliciesHelpers.sys.mjs, and the places in the browser UI that check the policy.What might be considered missing is how these values are treated in relation to time and the Mozilla account. What I mean is I don't fully understand when settings are actually applied for a user (like only after a restart) and what happens in relation to a user being signed in or signed out from their Mozilla account.
I am feeling a bit unsure about "unset", "leave out", addressing the reader with "you" and so on. Please feel free to change those as you please.
Motivation:
I am working on a custom sync form so I had to understand what was going on behind the scenes. The reference doesn't capture the intricacies.
Related issues and pull requests:
https://bugzilla.mozilla.org/show_bug.cgi?id=2079738