bug 180962, security warnings show twice in first tab, a=asa

This commit is contained in:
mconnor%myrealbox.com 2005-04-12 04:40:33 +00:00
Родитель 26e5877714
Коммит 04d9d9aa17
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -696,10 +696,6 @@ function prepareForStartup()
// enable global history // enable global history
gBrowser.docShell.QueryInterface(Components.interfaces.nsIDocShellHistory).useGlobalHistory = true; gBrowser.docShell.QueryInterface(Components.interfaces.nsIDocShellHistory).useGlobalHistory = true;
const selectedBrowser = gBrowser.selectedBrowser;
if (selectedBrowser.securityUI)
selectedBrowser.securityUI.init(selectedBrowser.contentWindow);
// hook up UI through progress listener // hook up UI through progress listener
gBrowser.addProgressListener(window.XULBrowserWindow, Components.interfaces.nsIWebProgress.NOTIFY_ALL); gBrowser.addProgressListener(window.XULBrowserWindow, Components.interfaces.nsIWebProgress.NOTIFY_ALL);
} }