Closed Bug 940936 Opened 11 years ago Closed 11 years ago

Change - Use profile name in registry sync prefs for WindowsPrefSync.jsm

Categories

(Firefox for Metro Graveyard :: General, defect, P2)

x86_64
Windows 8.1
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 28

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

(Whiteboard: [block28] feature=change c=tbd u=tbd p=1)

Attachments

(1 file)

We're currently syncing between all profile, but now that we're haring a profile we only need to sync per profile name. p=1
Hey Brian, is this [block28] or [release28]?
Flags: needinfo?(netzen)
Flags: needinfo?(netzen)
Whiteboard: [release28]
Summary: Use profile name in registry sync prefs for WindowsPrefSync.jsm → Change - Use profile name in registry sync prefs for WindowsPrefSync.jsm
Whiteboard: [release28] → [release28] feature=change c=tbd u=tbd p=0
p=1 to be added later today.
Blocks: metrov1it20
No longer blocks: metrov1backlog
Status: NEW → ASSIGNED
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [release28] feature=change c=tbd u=tbd p=0 → [block28] feature=change c=tbd u=tbd p=0
Assignee: nobody → netzen
Whiteboard: [block28] feature=change c=tbd u=tbd p=0 → [block28] feature=change c=tbd u=tbd p=1
Attached patch rev1Splinter Review
Since we share the same profile now it's a good way to keep the prefs synced together with the profile name and not with all profiles.
Attachment #8339625 - Flags: review?(jmathies)
Comment on attachment 8339625 [details] [diff] [review] rev1 Are there any chars that might show up in a 'profileService.selectedProfile.name' that would break registry access? Wondering if we need to do any filtering here.
Attachment #8339625 - Flags: review?(jmathies) → review+
I think we're OK here, the path is already used for a filename, and registry can accept anything except a backslash char. <msdn> Each key has a name consisting of one or more printable characters. Key names are not case sensitive. Key names cannot include the backslash character (\), but any other printable character can be used. Value names and data can include the backslash character. <source>http://msdn.microsoft.com/en-us/library/ms724946%28VS.85%29.aspx</source> </msdn>
Target Milestone: --- → Firefox 28
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Depends on: 947581
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: