Bug 335113 More obvious secure site indication p=zug_treno@yahoo.com r=db48x,jag sr=me

This commit is contained in:
neil%parkwaycc.co.uk 2006-09-14 06:10:28 +00:00
parent 3d2547347c
commit 68d36ed25e

View File

@ -393,16 +393,20 @@ nsBrowserStatusHandler.prototype =
switch (aState) {
case wpl.STATE_IS_SECURE | wpl.STATE_SECURE_HIGH:
this.securityButton.setAttribute("level", "high");
this.urlBar.setAttribute("level", "high");
break;
case wpl.STATE_IS_SECURE | wpl.STATE_SECURE_LOW:
this.securityButton.setAttribute("level", "low");
this.urlBar.setAttribute("level", "low");
break;
case wpl.STATE_IS_BROKEN:
this.securityButton.setAttribute("level", "broken");
this.urlBar.setAttribute("level", "broken");
break;
case wpl.STATE_IS_INSECURE:
default:
this.securityButton.removeAttribute("level");
this.urlBar.removeAttribute("level");
break;
}