Bug 776027 - Pref off MozActivity for only WebappRT. r=wesj
authorJosh Dover <gerfuls@gmail.com>
Tue, 29 Apr 2014 14:37:00 +0200
changeset 180952 8d73271599832c379e8665dc2cca566a68fafb88
parent 180951 774890574009c36aaa0bb47301dde18ae3f7cc82
child 180953 727238c137566e3b5197fc4492b6076fa2e764af
child 181024 0a127bfc0c74553e1c1329cf289e89fbc20608c8
push id26687
push usercbook@mozilla.com
push dateWed, 30 Apr 2014 13:02:09 +0000
treeherdermozilla-central@727238c13756 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj
bugs776027
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 776027 - Pref off MozActivity for only WebappRT. r=wesj
mobile/android/app/mobile.js
mobile/android/chrome/content/WebappRT.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -579,18 +579,16 @@ pref("media.video-queue.default-size", 3
 
 // optimize images memory usage
 pref("image.mem.decodeondraw", true);
 pref("image.mem.min_discard_timeout_ms", 10000);
 
 #ifdef NIGHTLY_BUILD
 // Shumway component (SWF player) is disabled by default. Also see bug 904346.
 pref("shumway.disabled", true);
-// Enabled system messages for web activity support
-pref("dom.sysmsg.enabled", true);
 #endif
 
 // enable touch events interfaces
 pref("dom.w3c_touch_events.enabled", 1);
 
 #ifdef MOZ_SAFE_BROWSING
 pref("browser.safebrowsing.enabled", true);
 pref("browser.safebrowsing.malware.enabled", true);
--- a/mobile/android/chrome/content/WebappRT.js
+++ b/mobile/android/chrome/content/WebappRT.js
@@ -36,16 +36,19 @@ let WebappRT = {
     pref("xpinstall.enabled", false),
     // Set a future policy version to avoid the telemetry prompt.
     pref("toolkit.telemetry.prompted", 999),
     pref("toolkit.telemetry.notifiedOptOut", 999),
     pref("media.useAudioChannelService", true),
     pref("dom.mozTCPSocket.enabled", true),
     // Don't check for updates in webapp processes to avoid duplicate notifications.
     pref("browser.webapps.checkForUpdates", 0),
+
+    // Enabled system messages for web activity support
+    pref("dom.sysmsg.enabled", true),
   ],
 
   init: function(aStatus, aUrl, aCallback) {
     this.deck = document.getElementById("browsers");
     this.deck.addEventListener("click", this, false, true);
 
     // on first run, update any prefs
     if (aStatus == "new") {