Open
Bug 1889039
Opened 10 months ago
Updated 7 months ago
SpecialPowers.isHeadless lies on Linux
Categories
(Testing :: Mochitest, defect, P2)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: hiro, Unassigned)
Details
On linux we set MOZ_HEADLESS environment variable to 1 (at startup?), then unfortunately in gfxPlatform::IsHeadless, which is used for SpecialPowers.isHeadless we check the env variable just once, thus even on non-headless mode, SpecialPowers.isHeadless keeps returning true.
CCing :jld who wrote the code to set MOZ_HEADLESS variable there.
Comment 1•10 months ago
|
||
The severity field is not set for this bug.
:jmaher, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(jmaher)
Updated•10 months ago
|
Severity: -- → S3
Flags: needinfo?(jmaher)
Priority: -- → P2
Updated•9 months ago
|
Summary: SpecialPowres.isHeadless lies on Linux → SpecialPowers.isHeadless lies on Linux
You need to log in
before you can comment on or make changes to this bug.
Description
•