mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 1495049: Launcher process: Treat headless mode as implicit --wait-for-browser; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D7204 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
00927ac95e
commit
0a3958d730
@ -99,7 +99,11 @@ ProcessCmdLine(int& aArgc, wchar_t* aArgv[])
|
||||
mozilla::CheckArg(aArgc, aArgv, L"marionette",
|
||||
static_cast<const wchar_t**>(nullptr),
|
||||
mozilla::CheckArgFlag::None) == mozilla::ARG_FOUND ||
|
||||
mozilla::EnvHasValue("MOZ_AUTOMATION")) {
|
||||
mozilla::CheckArg(aArgc, aArgv, L"headless",
|
||||
static_cast<const wchar_t**>(nullptr),
|
||||
mozilla::CheckArgFlag::None) == mozilla::ARG_FOUND ||
|
||||
mozilla::EnvHasValue("MOZ_AUTOMATION") ||
|
||||
mozilla::EnvHasValue("MOZ_HEADLESS")) {
|
||||
result |= mozilla::LauncherFlags::eWaitForBrowser;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user