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 c33f581e48
commit d60032d765
5 changed files with 8 additions and 5 deletions

View File

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

View File

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

View File

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

View File

@ -175,6 +175,7 @@
"content/html/document/test/test_bug741266.html":"needs control of popup window size",
"docshell/test/navigation/test_popup-navigates-children.html":"Needs multiple window.open support, also uses docshelltreenode",
"docshell/test/test_bug590573.html":"queryinterfaces into webnavigation, might suffer from something similar as bug 823022",
"docshell/test/navigation/test_bug430723.html":"apz race condition, see bug 965351",
"dom/devicestorage/ipc/test_ipc.html":"nested ipc not working",
"dom/indexedDB/ipc/test_ipc.html":"nested ipc not working",
@ -267,6 +268,7 @@
"dom/events/test/test_bug574663.html":"",
"dom/events/test/test_bug607464.html":"",
"dom/events/test/test_wheel_default_action.html":"",
"dom/events/test/test_bug946632.html":"apz race condition, see bug 965351",
"dom/file/test/test_progress_events.html":"All of these fail fairly regularly with: UnknownError: The operation failed for reasons unrelated to the database itself and not covered by any other error code. at http://mochi.test:8888/tests/dom/file/test/helpers.js:126",
"dom/file/test/test_request_readyState.html":"",
@ -370,6 +372,7 @@
"layout/forms/test/test_bug571352.html":"shift-click multi-select not working?",
"layout/forms/test/test_textarea_resize.html":"resizing textarea not available in b2g",
"layout/forms/test/test_bug903715.html":"select elements don't use an in-page popup in B2G",
"layout/forms/test/test_bug564115.html":"apz race condition, see bug 965351",
"layout/generic/test/test_bug392746.html":"ctrl mouse select not working in b2g",
"layout/generic/test/test_bug791616.html":"Target should not have scrolled - got 114.10000610351562, expected 115.39999389648438",
"layout/generic/test/test_invalidate_during_plugin_paint.html":"plugins not supported",

View File

@ -91,7 +91,6 @@ var steps = [
installTestApp = function (url, appId, callback) {
let installResponse, appObject;
let installedEvent = false;
mm.sendAsyncMessage("install", {url: url, appId: appId});
mm.addMessageListener("installed", function onInstalled(aResponse) {
mm.removeMessageListener("installed", onInstalled);
ok(true, "install request replied");
@ -113,6 +112,7 @@ var steps = [
if (appObject && installResponse && installedEvent)
callback(installResponse, appObject);
}
mm.sendAsyncMessage("install", {url: url, appId: appId});
};
SpecialPowers.autoConfirmAppInstall(next);
},