Bug 1596512 - Port bug 1594885: Add devtools whatsnew prefs. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 14 Nov 2019 19:30:12 +0100
changeset 37290 378cbfce1aed14fe7f848c2cdc91e6480b85949a
parent 37289 36d1b3baee13f60766e29d35d0a40dca4264f61a
child 37291 288402b4c3e9240c4fa2490a2a24da3b4c2f4db8
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
bugs1596512, 1594885
Bug 1596512 - Port bug 1594885: Add devtools whatsnew prefs. r+a=jorgk
mail/app/profile/all-thunderbird.js
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -1225,16 +1225,23 @@ pref("devtools.popup.disable_autohide", 
 
 // Load the DevTools toolbox in a frame with type=content instead of type=chrome
 // See Bug 1539979 for more details.
 // We keep the option of running devtools in a chrome frame while we fix racy
 // tests that started failing when using type=content, but this ultimately
 // should be removed.
 pref("devtools.toolbox.content-frame", true);
 
+// Visibility switch preference for the WhatsNew panel.
+pref("devtools.whatsnew.enabled", true);
+
+// Temporary preference to fully disable the WhatsNew panel on any target.
+// Should be removed in https://bugzilla.mozilla.org/show_bug.cgi?id=1596037
+pref("devtools.whatsnew.feature-enabled", true);
+
 pref("devtools.webide.templatesURL", "https://code.cdn.mozilla.net/templates/list.json");
 pref("devtools.webide.autoinstallADBExtension", true);
 pref("devtools.webide.autoConnectRuntime", true);
 pref("devtools.webide.restoreLastProject", true);
 pref("devtools.webide.enableLocalRuntime", false);
 pref("devtools.webide.lastConnectedRuntime", "");
 pref("devtools.webide.lastSelectedProject", "");
 pref("devtools.webide.zoom", "1");