зеркало из https://github.com/mozilla/pjs.git
Bug 420246, gBrowser.securityUI doesn't clear invalid cert data after using back button
Separate patch for SeaMonkey r=neil, blocking1.9=beltzner
This commit is contained in:
Родитель
1f8df2227b
Коммит
47fa28397b
|
@ -69,9 +69,11 @@ var security = {
|
|||
var isBroken = false;
|
||||
if (ui) {
|
||||
isBroken = (ui.state == Components.interfaces.nsIWebProgressListener.STATE_IS_BROKEN);
|
||||
sp = ui.QueryInterface(nsISSLStatusProvider);
|
||||
if (sp)
|
||||
status = sp.SSLStatus;
|
||||
if (!(ui.state & Components.interfaces.nsIWebProgressListener.STATE_IS_INSECURE)) {
|
||||
sp = ui.QueryInterface(nsISSLStatusProvider);
|
||||
if (sp)
|
||||
status = sp.SSLStatus;
|
||||
}
|
||||
}
|
||||
if (status) {
|
||||
status = status.QueryInterface(nsISSLStatus);
|
||||
|
|
Загрузка…
Ссылка в новой задаче