Bug 1201535 - Disable view source tabs for Beta / Release. r=bz
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 08 Sep 2015 18:32:38 -0500
changeset 261373 f3dc232530a57995571bf63cb156bffc2dba3f6c
parent 261372 f53e4aace33cadd6899694df130c48b7bd3e5550
child 261374 70c8b3ee5ad0dec85b374e8f410d7b71cdd08fa3
push id15090
push userjryans@gmail.com
push dateWed, 09 Sep 2015 02:17:12 +0000
treeherderfx-team@f3dc232530a5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1201535
milestone43.0a1
Bug 1201535 - Disable view source tabs for Beta / Release. r=bz
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1926,17 +1926,22 @@ pref("reader.errors.includeURLs", true);
 
 pref("browser.pocket.enabled", true);
 pref("browser.pocket.api", "api.getpocket.com");
 pref("browser.pocket.site", "getpocket.com");
 pref("browser.pocket.oAuthConsumerKey", "40249-e88c401e1b1f2242d9e441c4");
 pref("browser.pocket.useLocaleList", true);
 pref("browser.pocket.enabledLocales", "cs de en-GB en-US en-ZA es-ES es-MX fr hu it ja ja-JP-mac ko nl pl pt-BR pt-PT ru zh-CN zh-TW");
 
+// 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.
 pref("dom.serviceWorkers.enabled", true);
 
 #ifdef NIGHTLY_BUILD
 pref("dom.serviceWorkers.interception.enabled", true);
 #endif