Cannot change RemoteSettingsExperimentLoader collection after startup
Categories
(Firefox :: Nimbus Desktop Client, defect, P3)
Tracking
()
People
(Reporter: beth, Unassigned)
Details
The RemoteSettingsExperimentLoader lets you specify the collection it should fetch recipes from via the messaging-system.rsexperimentloader.collection_id
pref. However, this has never let you change the collection without restarting the browser because the remote settings client is defined using ChromeUtils.defineLazyGetter (previous version before prefFlips: here, this was not a regression), which replaces the getter with the result of the callback after the first call.
Instead, this should be a regular lazy getter that returns RemoteSettings(collection)
. We do not have to worry about the collection being garbage collected because it is kept alive by remote-settings.sys.mjs
Comment 1•8 days ago
|
||
The severity field is not set for this bug.
:beth, could you have a look please?
For more information, please visit BugBot documentation.
Reporter | ||
Updated•8 days ago
|
Description
•