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 240336 b2014868972d7ea986fbd0ffadd2abb32838c3f6
parent 240335 f4d12173f912eb9e535973bf449455d5b8f2f24b
child 240337 299b9d630ae816048a0034d29da4290fdef047fe
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [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);