зеркало из https://github.com/mozilla/pjs.git
bug 180962, security warnings show twice in first tab, a=asa
This commit is contained in:
Родитель
26e5877714
Коммит
04d9d9aa17
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче