Bug 1078539 - Enable dev edition promo to be shown when update channel is beta. r=jryans
authorJordan Santell <jsantell@gmail.com>
Sat, 15 Nov 2014 13:39:00 +0100
changeset 216058 b2014868972d7ea986fbd0ffadd2abb32838c3f6
parent 216057 f4d12173f912eb9e535973bf449455d5b8f2f24b
child 216059 299b9d630ae816048a0034d29da4290fdef047fe
push id51935
push userryanvm@gmail.com
push dateMon, 17 Nov 2014 21:28:33 +0000
treeherdermozilla-inbound@872f98f50872 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1078539
milestone36.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 1078539 - Enable dev edition promo to be shown when update channel is beta. r=jryans
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1314,17 +1314,17 @@ pref("browser.devedition.theme.enabled",
 pref("browser.devedition.theme.showCustomizeButton", false);
 #endif
 
 // Developer edition promo preferences
 pref("devtools.devedition.promo.shown", false);
 pref("devtools.devedition.promo.url", "https://mozilla.org/firefox/developer");
 
 // Only potentially show in beta release
-#ifdef MOZ_UPDATE_CHANNEL == beta
+#if MOZ_UPDATE_CHANNEL == beta
   pref("devtools.devedition.promo.enabled", true);
 #else
   pref("devtools.devedition.promo.enabled", false);
 #endif
 
 // Disable the error console
 pref("devtools.errorconsole.enabled", false);