Closed
Bug 1496241
Opened 6 years ago
Closed 6 years ago
Activity Stream doesn't honor default preference set via Autoconfig (and policy)
Categories
(Firefox :: New Tab Page, enhancement, P2)
Firefox
New Tab Page
Tracking
()
People
(Reporter: mkaply, Assigned: Mardak)
References
Details
Attachments
(1 file)
We've had request from folks to set some activity stream prefs via policy and autoconfig:
browser.newtabpage.activity-stream.default.sites
browser.newtabpage.activity-stream.feeds.section.highlights
browser.newtabpage.activity-stream.feeds.snippets
browser.newtabpage.activity-stream.migrationExpired
browser.newtabpage.activity-stream.showSearch
browser.newtabpage.activity-stream.topSitesRows
browser.onboarding.enabled
What I've discovered is that if you set many of these prefs as default prefs (which is typical in autoconfig and policy), activity stream doesn't read the default values (it only reads user values).
The problem seems to be that activity stream sets the default values without checking to see if they exist as default values already.
Reporter | ||
Comment 2•6 years ago
|
||
> :mkaply, is this for ESR configurations?
Yes. It's should we can add policies to configure the new tab/activity stream for enterprises.
Flags: needinfo?(mozilla)
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Looks like we can follow the same pattern used in bug 1245277. Although some quick testing shows that if the user has set a pref, the PREF_INVALID check from the default branch will still get the type of the user set value. So potentially we could end up in a situation where there's no default…
Assignee: nobody → edilee
See Also: → 1245277
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream
https://github.com/mozilla/activity-stream/commit/b79d9f4c37eb5f396dd6f18fd1311d0550998aa0
Fix Bug 1496241 - Activity Stream doesn't honor default preference set via Autoconfig (and policy) (#4531)
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•6 years ago
|
||
status-firefox65:
--- → fixed
Target Milestone: --- → Firefox 65
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•