Open
Bug 1992137
Opened 5 months ago
Updated 5 months ago
Verify if SpecialPowers.pushPrefEnv should/does notify only if the pref really changed
Categories
(Testing :: Mochitest, task)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: jstutte, Unassigned)
References
Details
Looking into bug 1991846 it seems like SpecialPowers.pushPrefEnv will cause change notifications for all prefs given to the in-set, regardless of their previous state.
My understanding would be that during normal operations we expect to get a notification only for real changes and there seems to be code that silently relies on this (like _RFPHelper._handleLetterboxingPrefChanged).
Of course there might be also tests that rely on getting those extra notifications.
You need to log in
before you can comment on or make changes to this bug.
Description
•