diff --git a/suite/browser/pageinfo/security.js b/suite/browser/pageinfo/security.js index a0e4a2701ba..334f7488c8d 100644 --- a/suite/browser/pageinfo/security.js +++ b/suite/browser/pageinfo/security.js @@ -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);