Open Bug 1549857 Opened 5 years ago Updated 2 years ago

Consolidate where we set MOZ_DISABLE_NONLOCAL_CONNECTIONS (and/or other test-only environment variables)

Categories

(Testing :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Gijs, Unassigned)

References

Details

MOZ_DISABLE_NONLOCAL_CONNECTIONS is one of the moving parts for whether Cu.isInAutomation() (JS) and xpc::IsInAutomation() (C++) return true. It's used throughout the codebase to run code specific to infra and it should work uniformly across test/performance frameworks.

Right now, it seems to be set in a somewhat hodgepodge way. I'm hoping we can put it somewhere more central so that new frameworks don't have to remember to set it and we can reduce some duplication.

Product: Firefox Build System → Testing
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.