Bug 1658326 - Enable one-off update2 prefs in Nightly. r=adw
authorHarry Twyford <htwyford@mozilla.com>
Wed, 12 Aug 2020 03:40:05 +0000
changeset 544357 49ba9675c183ccbb6eb9e94a779e470709d0aef1
parent 544356 2c621c03a1b9c80fc779f87fa98fd7a13dde8761
child 544358 51b465c34f8aca7ed48752788546177ad15da28f
push id123988
push userhtwyford@mozilla.com
push dateWed, 12 Aug 2020 03:54:31 +0000
treeherderautoland@49ba9675c183 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1658326
milestone81.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 1658326 - Enable one-off update2 prefs in Nightly. r=adw Differential Revision: https://phabricator.services.mozilla.com/D86768
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -324,27 +324,31 @@ pref("browser.urlbar.switchTabs.adoptInt
 
 // Whether addresses and search results typed into the address bar
 // should be opened in new tabs by default.
 pref("browser.urlbar.openintab", false);
 
 // If true, we show tail suggestions when available.
 pref("browser.urlbar.richSuggestions.tail", true);
 
-// Whether aliases are styled as a "chiclet" separated from the Urlbar.
-// Also controls the other urlbar.update2 prefs.
-pref("browser.urlbar.update2", false);
-
+#ifdef NIGHTLY_BUILD
+// Whether the Urlbar can enter search mode. Also controls the other
+// urlbar.update2 prefs.
+pref("browser.urlbar.update2", true);
 // Whether the urlbar displays one-offs to filter searches to history,
 // bookmarks, or tabs.
-pref("browser.urlbar.update2.localOneOffs", false);
-
+pref("browser.urlbar.update2.localOneOffs", true);
 // Whether the urlbar one-offs act as search filters instead of executing a
 // search immediately.
+pref("browser.urlbar.update2.oneOffsRefresh", true);
+#else
+pref("browser.urlbar.update2", false);
+pref("browser.urlbar.update2.localOneOffs", false);
 pref("browser.urlbar.update2.oneOffsRefresh", false);
+#endif
 
 // Whether we display a tab-to-complete result when the user types an engine
 // name.
 pref("browser.urlbar.update2.tabToComplete", false);
 
 pref("browser.urlbar.eventTelemetry.enabled", false);
 
 // Controls when to DNS resolve single word search strings, after they were