Bug 522678 - remove browser.history.showsessions from firefox.js, r=mano

This commit is contained in:
Marco Bonardo 2009-10-28 17:22:57 +01:00
parent 5074a3ed9a
commit bab6c84b9b
4 changed files with 3 additions and 11 deletions

View File

@ -311,7 +311,6 @@ pref("browser.microsummary.updateGenerators", true);
// enable search suggestions by default
pref("browser.search.suggest.enabled", true);
pref("browser.history.showSessions", false);
pref("browser.sessionhistory.max_entries", 50);
pref("browser.history_expire_days", 180);
pref("browser.history_expire_days_min", 90);
@ -363,10 +362,6 @@ pref("browser.allTabs.previews", false);
pref("browser.ctrlTab.previews", false);
pref("browser.ctrlTab.recentlyUsedLimit", 7);
// Default bookmark sorting
pref("browser.bookmarks.sort.direction", "descending");
pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
// By default, do not export HTML at shutdown.
// If true, at shutdown the bookmarks in your menu and toolbar will
// be exported as HTML to the bookmarks.html file.
@ -376,7 +371,7 @@ pref("browser.bookmarks.autoExportHTML", false);
// keep in {PROFILEDIR}/bookmarkbackups. Special values:
// -1: unlimited
// 0: no backups created (and deletes all existing backups)
pref("browser.bookmarks.max_backups", 5);
pref("browser.bookmarks.max_backups", 10);
// Scripts & Windows prefs
pref("dom.disable_open_during_load", true);

View File

@ -129,7 +129,6 @@ public:
mExpandQueries(PR_TRUE),
mIncludeHidden(PR_FALSE),
mRedirectsMode(nsINavHistoryQueryOptions::REDIRECTS_MODE_ALL),
mShowSessions(PR_FALSE),
mMaxResults(0),
mQueryType(nsINavHistoryQueryOptions::QUERY_TYPE_HISTORY)
{ }
@ -147,7 +146,6 @@ public:
PRBool ExpandQueries() const { return mExpandQueries; }
PRBool IncludeHidden() const { return mIncludeHidden; }
PRUint16 RedirectsMode() const { return mRedirectsMode; }
PRBool ShowSessions() const { return mShowSessions; }
PRUint32 MaxResults() const { return mMaxResults; }
PRUint16 QueryType() const { return mQueryType; }
@ -172,7 +170,6 @@ private:
PRPackedBool mExpandQueries;
PRPackedBool mIncludeHidden;
PRUint16 mRedirectsMode;
PRPackedBool mShowSessions;
PRUint32 mMaxResults;
PRUint16 mQueryType;
};

View File

@ -150,7 +150,7 @@ var testData = [
* testing for items that should be ignored while querying over history.
* The Query:WHERE absoluteTime(matches) AND searchTerms AND URI
* AND annotationIsNot(match) GROUP BY Domain, Day SORT BY uri,ascending
* excludeITems(should be ignored) ShowSessions(should be ignored)
* excludeITems(should be ignored)
*/
function run_test() {

View File

@ -148,7 +148,7 @@ var testData = [
* testing for items that should be ignored while querying over history.
* The Query:WHERE absoluteTime(matches) AND searchTerms AND URI
* AND annotationIsNot(match) GROUP BY Domain, Day SORT BY uri,ascending
* excludeITems(should be ignored) ShowSessions(should be ignored)
* excludeITems(should be ignored)
*/
function run_test() {