rem: switch (securityState[0]) 
add: switch (securityState[0]) 
context: function updateSecurityIcon(){    var o = getObjectDetails(client.currentObject);    var securityButton = window.document.getElementById("security-button");    securityButton.firstChild.value = "";    securityButton.removeAttribute("level");    securityButton.removeAttribute("tooltiptext");    if (!o.server || !o.server.isConnected) // No server or connection?    {        securityButton.setAttribute("tooltiptext", MSG_SECURITY_INFO);        return;    }    var securityState = o.server.connection.getSecurityState()    switch (securityState[0])     {        case STATE_IS_SECURE:            securityButton.firstChild.value = o.server.hostname;            if (securityState[1] == STATE_SECURE_HIGH)                securityButton.setAttribute("level", "high");            else // Because low security is the worst we have when being secure                securityButton.setAttribute("level", "low");            // Add the tooltip:            var issuer = o.server.connection.getCertificate().issuerOrganization;            var tooltiptext = getMsg(MSG_SECURE_CONNECTION, issuer);            securityButton.setAttribute("tooltiptext", tooltiptext);            securityButton.firstChild.setAttribute("tooltiptext", tooltiptext);            securityButton.lastChild.setAttribute("tooltiptext", tooltiptext);            break;        case STATE_IS_BROKEN:            securityButton.setAttribute("level", "broken");            // No break to make sure we get the correct tooltip        case STATE_IS_INSECURE:        default:            securityButton.setAttribute("tooltiptext", MSG_SECURITY_INFO);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f51f7c45c45560f2e5b75ef7d5312d59ac02c94f/static.js/clean/extensions/irc/xul/content/static.js