зеркало из https://github.com/mozilla/gecko-dev.git
Bug 112569: Session History set from navigator.js redundantly. r=hyatt, sr=hewitt
This commit is contained in:
Родитель
7e13aa622f
Коммит
5575151b37
|
@ -345,10 +345,6 @@ function Startup()
|
||||||
|
|
||||||
//initConsoleListener();
|
//initConsoleListener();
|
||||||
|
|
||||||
// wire up session history before any possible progress notifications for back/forward button updating
|
|
||||||
webNavigation.sessionHistory = Components.classes["@mozilla.org/browser/shistory;1"]
|
|
||||||
.createInstance(Components.interfaces.nsISHistory);
|
|
||||||
|
|
||||||
// hook up UI through progress listener
|
// hook up UI through progress listener
|
||||||
getBrowser().addProgressListener(window.XULBrowserWindow);
|
getBrowser().addProgressListener(window.XULBrowserWindow);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче