Bug 1549857 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

MOZ_DISABLE_NONLOCAL_CONNECTIONS is one of the moving parts for whether `Cu.isInAutomation()` (JS) and `xpc::IsInAutomation()` 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.
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.

Back to Bug 1549857 Comment 0