Bug 633986 Mobile preferences for nice process r=mbrubeck
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -417,16 +417,24 @@ pref("browser.ui.touch.weight.visited",
// plugins
#if MOZ_PLATFORM_MAEMO == 6
pref("plugin.disable", false);
#else
pref("plugin.disable", true);
#endif
pref("dom.ipc.plugins.enabled", true);
+// process priority
+// higher values give content process less CPU time
+#if MOZ_PLATFORM_MAEMO
+pref("dom.ipc.content.nice", 10);
+#else
+pref("dom.ipc.content.nice", 1);
+#endif
+
// product URLs
// The breakpad report server to link to in about:crashes
pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
pref("app.releaseNotesURL", "http://www.mozilla.com/%LOCALE%/mobile/%VERSION%/releasenotes/");
pref("app.sync.tutorialURL", "https://www.mozilla.com/%LOCALE%/mobile/sync/");
pref("app.support.baseURL", "http://mobile.support.mozilla.com/");
pref("app.feedbackURL", "http://input.mozilla.com/feedback/");
pref("app.privacyURL", "https://www.mozilla.com/%LOCALE%/legal/privacy/firefox/mobile/");