Bug 950266 - Re-enable the Nuwa process on B2G by default r=me

This commit is contained in:
Fabrice Desré 2014-01-14 16:00:25 -08:00
parent a596cd00c8
commit 5028bac678
3 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ MOZ_PLACES=
MOZ_B2G=1 MOZ_B2G=1
if test "$OS_TARGET" = "Android"; then if test "$OS_TARGET" = "Android"; then
MOZ_NUWA_PROCESS= MOZ_NUWA_PROCESS=1
fi fi
MOZ_FOLD_LIBS=1 MOZ_FOLD_LIBS=1

View File

@ -309,7 +309,7 @@ PreallocatedProcessManagerImpl::PublishSpareProcess(ContentParent* aContent)
do_GetService("@mozilla.org/parentprocessmessagemanager;1"); do_GetService("@mozilla.org/parentprocessmessagemanager;1");
nsresult rv = ppmm->BroadcastAsyncMessage( nsresult rv = ppmm->BroadcastAsyncMessage(
NS_LITERAL_STRING("TEST-ONLY:nuwa-add-new-process"), NS_LITERAL_STRING("TEST-ONLY:nuwa-add-new-process"),
JSVAL_NULL, JSVAL_NULL, cx, 1); JS::NullHandleValue, JS::NullHandleValue, cx, 1);
} }
if (!mNuwaForkWaitTasks.IsEmpty()) { if (!mNuwaForkWaitTasks.IsEmpty()) {
@ -362,7 +362,7 @@ PreallocatedProcessManagerImpl::OnNuwaReady()
do_GetService("@mozilla.org/parentprocessmessagemanager;1"); do_GetService("@mozilla.org/parentprocessmessagemanager;1");
nsresult rv = ppmm->BroadcastAsyncMessage( nsresult rv = ppmm->BroadcastAsyncMessage(
NS_LITERAL_STRING("TEST-ONLY:nuwa-ready"), NS_LITERAL_STRING("TEST-ONLY:nuwa-ready"),
JSVAL_NULL, JSVAL_NULL, cx, 1); JS::NullHandleValue, JS::NullHandleValue, cx, 1);
} }
NuwaFork(); NuwaFork();
} }

View File

@ -1,2 +1,2 @@
[test_NuwaProcessCreation.html] [test_NuwaProcessCreation.html]
skip-if = true # re-enable when nuwa is enabled. run-if = toolkit == 'gonk'