Bug 515452: default bookmarks should appear in the awesomebar on first run, r=mfinkle
authorGavin Sharp <gavin@mozilla.com>
Mon, 14 Sep 2009 18:53:41 -0400
changeset 65559 bcd7f3968ba2534f36044b3234a303492b94719c
parent 65558 bae048dbaaa110848b8feb8d01a267b78f194795
child 65560 52d9c16e04f28b1b23f21503083cb3f79d554d79
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs515452
Bug 515452: default bookmarks should appear in the awesomebar on first run, r=mfinkle
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -223,16 +223,20 @@ pref("browser.search.update.log", false)
 pref("browser.search.updateinterval", 6);
 
 // enable search suggestions by default
 pref("browser.search.suggest.enabled", true);
 
 // enable xul error pages
 pref("browser.xul.error_pages.enabled", true);
 
+// Specify emptySearch = 0 so that bookmarks appear in the list by default
+pref("browser.urlbar.default.behavior", 0);
+pref("browser.urlbar.default.behavior.emptyRestriction", 0);
+
 // various and sundry awesomebar prefs (should remove/re-evaluate
 // these once bug 447900 is fixed)
 pref("browser.urlbar.clickSelectsAll", true);
 pref("browser.urlbar.doubleClickSelectsAll", true);
 pref("browser.urlbar.autoFill", false);
 pref("browser.urlbar.matchOnlyTyped", false);
 pref("browser.urlbar.matchBehavior", 1);
 pref("browser.urlbar.filter.javascript", true);