Bug 1566839 - Use NS_WARNING rather than NS_ERROR when child process initialization fails. r=jld

Differential Revision: https://phabricator.services.mozilla.com/D38908

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Bobby Holley 2019-07-22 19:14:45 +00:00
Родитель 3a5e7c7c50
Коммит de399107e1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2161,7 +2161,7 @@ void ContentParent::LaunchSubprocessInternal(
mLifecycleState = LifecycleState::ALIVE;
if (!InitInternal(aInitialPriority)) {
NS_ERROR("failed to initialize child in the parent");
NS_WARNING("failed to initialize child in the parent");
// We've already called Open() by this point, so we need to close the
// channel to avoid leaking the process.
ShutDownProcess(SEND_SHUTDOWN_MESSAGE);