Inconsistent handling of the `MOZ_FORCE_DISABLE_E10S` pref
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox124 | --- | wontfix |
firefox125 | --- | wontfix |
firefox126 | --- | fixed |
People
(Reporter: nika, Assigned: gregp)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Before bug 1724089, in order to disable e10s with the MOZ_FORCE_DISABLE_E10S
environment variable, we had to set it to the current browser's version number, however that patch changed behaviour such that it only needed to be set to the string "1", and added an additional restriction that E10S could only be disabled when nonlocal connections are disabled.
However, this check was actually implemented such that it only checked that the first character of the MOZ_FORCE_DISABLE_E10S
environment variable. This appears to have led to some callsites which were previously setting the environment variable to the full version number being missed (https://searchfox.org/mozilla-central/rev/0e9ea50a999420d93df0e4e27094952af48dd3b8/toolkit/xre/test/marionette/test_fission_autostart.py#242, https://searchfox.org/mozilla-central/source/toolkit/xre/test/marionette/test_win32k_enrollment.py#393,627,873,1141,1370,1607,1857,2107).
These callsites work for now, due to the first digit in Firefox's version number being a "1" (e.g. "126.0a1"), however will stop working once we reach version 200, as the first digit will no longer match.
We should probably check that the environment variable has the expected length as well, and update these tests to write the string "1" into the pref instead of the current version number.
Comment 1•8 months ago
|
||
Set release status flags based on info from the regressing bug 1724089
:gregp, since you are the author of the regressor, bug 1724089, could you take a look?
For more information, please visit BugBot documentation.
Updated•8 months ago
|
Assignee | ||
Comment 2•8 months ago
|
||
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Comment 4•8 months ago
|
||
bugherder |
Description
•