Hi there,
My extension is bootstrapped and I want to use Firefox Sync to sync some of its preferences (e.g. extensions.foo.bar). So I have added the corresponding preferences (e.g. services.sync.prefs.sync.extensions.foo.bar = true).
Then, I created two Firefox profiles, A, B, and start testing the Firefox Sync feature:
- My extension has been installed in both side, but disabled in profile B;
- All “user set” preferences of my extension are cleared in profile B;
- The Sync account is set in profile A, and the “user set” preferences are synced;
- Then, set the Sync account in profile B, but only services.sync.prefs.sync.extensions.foo.xxx are synced to profile B;
- Run the Sync in profile A, then all extensions.foo.xxx are synced as empty and reset to default!
What’s wrong?
Should I add an alert box to tell my users that “Your settings may be cleared whenever you setup Sync in another device”?