Open Bug 1770139 Opened 2 years ago Updated 2 years ago

Tests could rely on MOZ_REMOTE_SETTINGS_DEVTOOLS env var instead of MOZ_DISABLE_NONLOCAL_CONNECTIONS

Categories

(Firefox :: Remote Settings Client, enhancement)

enhancement

Tracking

()

People

(Reporter: leplatrem, Unassigned)

References

Details

In order to remove code paths in our tests and Utils.jsm we could set the MOZ_REMOTE_SETTINGS_DEVTOOLS env var in the tests suites that require it.

Or if Cu.isInAutomation were to be true in xpcshell tests (bug 1598804), then the implementation could simply check Cu.isInAutomation.

The implementation can already use Cu.isInAutomation if tests set the security.turn_off_all_security_so_that_viruses_can_take_over_this_computer pref.

See Also: → 1598804
You need to log in before you can comment on or make changes to this bug.