Pref set using `mach mochitest --setpref` is no longer reflected in value returned from SpecialPowers.getCharPref()
Categories
(Core :: Preferences: Backend, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox106 | --- | unaffected |
firefox107 | --- | wontfix |
firefox108 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
STR
In a local build, run ./mach mochitest --setpref apz.subtest=helper_scrollby_bug1531796.html gfx/layers/apz/test/mochitest/test_group_mainthread.html
Expected results
The SpecialPowers.getCharPref("apz.subtest", "")
call here returns "helper_scrollby_bug1531796.html"
(which then has the effect that only this subtest is run).
Actual results
The call returns an empty string (which then has the effect that all subtests are run).
This is a recent regression, but since the STR require a mach environment I'm not sure how to get a regression range.
Assignee | ||
Comment 1•3 years ago
|
||
The regressing bug here is bug 1782444. There appears to be a new "sanitization" mechanism which is preventing the value of the pref from being propagated from the parent process to the content process, which is where it's read.
Assignee | ||
Comment 2•3 years ago
|
||
Tom, is the appropriate fix here to add apz.subtest
to this allowlist?
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1782444
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 7•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•