diff --git a/CLOBBER b/CLOBBER index dcd0ce8ec1e..c465e959f58 100644 --- a/CLOBBER +++ b/CLOBBER @@ -22,4 +22,4 @@ # changes to stick? As of bug 928195, this shouldn't be necessary! Please # don't change CLOBBER for WebIDL changes any more. -Bug 1024707 - It seems like changing 3 uuids is just too much! \ No newline at end of file +Bug 1038799 - And be wary of your ccache too. diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 855d578f908..4d09fae9f88 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -664,6 +664,12 @@ pref("javascript.options.mem.gc_low_frequency_heap_growth", 120); pref("javascript.options.mem.high_water_mark", 6); pref("javascript.options.mem.gc_allocation_threshold_mb", 1); pref("javascript.options.mem.gc_decommit_threshold_mb", 1); +#ifdef JSGC_GENERATIONAL +pref("javascript.options.mem.gc_min_empty_chunk_count", 1); +#else +pref("javascript.options.mem.gc_min_empty_chunk_count", 0); +#endif +pref("javascript.options.mem.gc_max_empty_chunk_count", 2); // Show/Hide scrollbars when active/inactive pref("ui.showHideScrollbars", 1); @@ -1007,7 +1013,7 @@ pref("services.sync.fxaccounts.enabled", true); pref("identity.fxaccounts.enabled", true); // Mobile Identity API. -pref("services.mobileid.server.uri", "https://msisdn-dev.stage.mozaws.net"); +pref("services.mobileid.server.uri", "https://msisdn.services.mozilla.com"); // Enable mapped array buffer pref("dom.mapped_arraybuffer.enabled", true); diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index 45bd870872a..854a7bbd91d 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index 898b9efd852..5b3174842f1 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index 0342816217d..00e60180a0d 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index 45bd870872a..854a7bbd91d 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/flame/sources.xml b/b2g/config/flame/sources.xml index a92c48e084c..0ce0594f79b 100644 --- a/b2g/config/flame/sources.xml +++ b/b2g/config/flame/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index 9e4534a4acc..197cba7e137 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "remote": "", "branch": "" }, - "revision": "8cd6c73ef83257a569d148e246108b2c161127bb", + "revision": "6739781fb8d0f3ae8bff65d1093e74d9f21ed6e5", "repo_path": "/integration/gaia-central" } diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index 9cb88555b54..86faa9c6f20 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index 1f24399130f..676ead2118a 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/nexus-4/sources.xml b/b2g/config/nexus-4/sources.xml index d2f8d04e5d1..844aed3d65b 100644 --- a/b2g/config/nexus-4/sources.xml +++ b/b2g/config/nexus-4/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index 6fceb9d0b76..fc9c8fa52fa 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 391e6a969bc..c9e220c8fd7 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1511,11 +1511,16 @@ pref("shumway.disabled", true); // (This is intentionally on the high side; see bug 746055.) pref("image.mem.max_decoded_image_kb", 256000); -#ifdef MOZ_LOOP +// Enable by default on nightly and aurora. +#ifndef RELEASE_BUILD +pref("loop.enabled", true); +#else +pref("loop.enabled", false); +#endif + pref("loop.server", "https://loop.services.mozilla.com"); pref("loop.do_not_disturb", false); pref("loop.ringtone", "chrome://browser/content/loop/shared/sounds/Firefox-Long.ogg"); -#endif // serverURL to be assigned by services team pref("services.push.serverURL", "wss://push.services.mozilla.com/"); diff --git a/browser/base/content/browser-loop.js b/browser/base/content/browser-loop.js index 7e62f1f67f4..000d0df969b 100644 --- a/browser/base/content/browser-loop.js +++ b/browser/base/content/browser-loop.js @@ -36,6 +36,11 @@ XPCOMUtils.defineLazyModuleGetter(this, "PanelFrame", "resource:///modules/Panel * delayedStartup. */ initialize: function() { + if (!Services.prefs.getBoolPref("loop.enabled")) { + CustomizableUI.getWidget("loop-call-button").forWindow(window).node.hidden = true; + return; + } + MozLoopService.initialize(); }, }; diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index d1fea52dab6..684c5b203c2 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -172,9 +172,7 @@ let gInitialPages = [ #include browser-feeds.js #include browser-fullScreen.js #include browser-fullZoom.js -#ifdef MOZ_LOOP #include browser-loop.js -#endif #include browser-places.js #include browser-plugins.js #include browser-safebrowsing.js @@ -1188,9 +1186,7 @@ var gBrowserInit = { gDataNotificationInfoBar.init(); #endif -#ifdef MOZ_LOOP LoopUI.initialize(); -#endif gBrowserThumbnails.init(); diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index d97e1bb66a2..b06818cbf77 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -267,7 +267,6 @@ noautofocus="true" position="topcenter topright"/> -#ifdef MOZ_LOOP