Closed Bug 883268 Opened 12 years ago Closed 12 years ago

User research build should suppress all Sync activity

Categories

(Firefox :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mconley, Assigned: mconley)

Details

(Whiteboard: [User Research Build+][Don't land this in UX])

Attachments

(1 file, 1 obsolete file)

Asa brought this up during the last Australis checkpoint meeting - the build that we're giving to our user research team includes a script to clone the user's default profile. This way, they can make whatever changes they'd like, and then we just blow away the clone when we're done. If, however, the user has Sync set up, changes they make *might* be sent to the Sync server....and then the next time they start up their un-cloned profile, those changes could show up. We don't want that to happen. So this bug is to suppress all Sync activity for the User Research build. According to rnewman, clearing the services.sync preferences branch should do the trick.
Another solution, and one that I think I prefer, is to compile this user research build without defining MOZ_SERVICES_SYNC. I think I'll try that route.
Attached patch Undefine MOZ_SERVICES_SYNC (obsolete) — Splinter Review
Slight caution -- we haven't shipped a build without MOZ_SERVICES_SYNC in a long time, so I'd be a bit wary of breakage from things expecting sync stuff to always exist. But if some spot checks of the integration points are working fine, we should be ok.
Attached patch Patch v2Splinter Review
Undefining MOZ_SERVICES_SYNC appears to result in a broken build - some build configuration just assumes services/sync is enabled for locales, and so the build won't complete. I'll file a separate bug for that - although I should also note that even after fixed, the build doesn't appear to work... I got an XML parsing error. I'll include that information in the bug I file.
Attachment #762813 - Attachment is obsolete: true
Attachment #763287 - Flags: feedback?(gps)
So the patch I've posted is quick 'n dirty, and it's supposed to be that way. Basically, I'm just trying to neuter Sync in the most direct way possible, while keeping the browser functional. This will never, ever hit UX or m-c. Gregory - is my approach sufficient to make sure the browser doesn't attempt to sync? Or is there anything I'm forgetting?
Comment on attachment 763287 [details] [diff] [review] Patch v2 Review of attachment 763287 [details] [diff] [review]: ----------------------------------------------------------------- I think this will do it!
Attachment #763287 - Flags: feedback?(gps) → feedback+
Thanks Gregory - UR Build is done, included this patch.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: