Adding a mirror: once StaticPref results in Assertion failure: staticPrefValue == preferenceValue
Categories
(Core :: Preferences: Backend, defect)
Tracking
()
People
(Reporter: tschuster, Unassigned)
References
Details
In bug 1709867 I tried to add a new mirror: once
StaticPref called privacy.resistFingerprinting.testing.setTZtoUTC
. That results in an assertion failure for different prefs on try:
Assertion failure: staticPrefValue == preferenceValue (Preference 'security.sandbox.content.headless' got modified since StaticPrefs::security_sandbox_content_headless_AtStartup was initialized. Consider using an
always
mirror kind instead),
Assertion failure: staticPrefValue == preferenceValue (Preference 'gfx.webrender.software' got modified since StaticPrefs::gfx_webrender_software_AtStartup was initialized. Consider using an
always
mirror kind instead)
My new pref was not being set anywhere and changing it to mirror: always
made the assertions go away.
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:KrisWright, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•2 years ago
|
||
This looks like it is because of a known issue with preferences where once
mirrored prefs do not behave as expected at startup. This is related to startup order and when the service is intiialized.
Description
•