The "top-sites-experiment" it is a bit generic, I think all of our experiments should start with a "urlbar-" prefix. Are openViewOnFocus and engagementTelemetry set to false automatically on unload? it looks like background is setting them every time to true, they flip the pref, but I suspect then you should invoke .clear() on uninstall/unload. (I couldn't find any reference to auto-unset on getSettingsAPI... maybe you did?) I like how simple this ends up being.
Bug 1547670 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The "top-sites-experiment" id is a bit generic, I think all of our experiments should start with a "urlbar-" prefix. Are openViewOnFocus and engagementTelemetry set to false automatically on unload? it looks like background is setting them every time to true, they flip the pref, but I suspect then you should invoke .clear() on uninstall/unload. (I couldn't find any reference to auto-unset on getSettingsAPI... maybe you did?) I like how simple this ends up being.