mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
History date/time of new pages is the date/time of the first url added in the session (91717). This will likely also help page loading time and hierarchical history folder opening (as well as item deletion). Would you believe we've been firing a timer every three seconds that flushes and recommits all of the user's global history (when all we meant to do was set a boolean to PR_TRUE) because of a copy and paste error Alec made in march? :-) r=jag sr=ben
This commit is contained in:
parent
27763b6faf
commit
90345ad705
@ -1588,7 +1588,7 @@ nsGlobalHistory::GetNow()
|
||||
mExpireNowTimer = do_CreateInstance("@mozilla.org/timer;1");
|
||||
|
||||
if (mExpireNowTimer)
|
||||
mExpireNowTimer->Init(fireSyncTimer, this, HISTORY_EXPIRE_NOW_TIMEOUT,
|
||||
mExpireNowTimer->Init(expireNowTimer, this, HISTORY_EXPIRE_NOW_TIMEOUT,
|
||||
NS_PRIORITY_LOWEST, NS_TYPE_ONE_SHOT);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user