Bug 1205321 - Enable fetch interception for non-release builds on desktop; r=bkelly
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 16 Sep 2015 11:55:23 -0400
changeset 297189 b37c36475cd2c7504a29c5fc99c42a8dda99375c
parent 297188 ebb7a4c5e5f276d36f3165088eb0216b40319cd4
child 297190 3353f2d77d21d6317f9eb3c233a7014b8bc141ae
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbkelly
bugs1205321
milestone43.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 1205321 - Enable fetch interception for non-release builds on desktop; r=bkelly
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1935,17 +1935,17 @@ pref("browser.pocket.enabledLocales", "c
 // View source tabs are only enabled by default for Dev. Ed and Nightly.
 #ifdef RELEASE_BUILD
 pref("view_source.tab", false);
 #else
 pref("view_source.tab", true);
 #endif
 
 // Enable ServiceWorkers for Push API consumers.
-// Interception is still disabled.
+// Interception is still disabled on beta and release.
 pref("dom.serviceWorkers.enabled", true);
 
-#ifdef NIGHTLY_BUILD
+#ifndef RELEASE_BUILD
 pref("dom.serviceWorkers.interception.enabled", true);
 #endif
 
 // Enable Push API.
 pref("dom.push.enabled", true);