зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
e940c56a84
Коммит
a6c7ce1906
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче