mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 335113 More obvious secure site indication p=zug_treno@yahoo.com r=db48x,jag sr=me
This commit is contained in:
parent
3d2547347c
commit
68d36ed25e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user