diff --git a/mozilla/xpfe/browser/src/navigator-test1.xul b/mozilla/xpfe/browser/src/navigator-test1.xul index e03358f66e5..27248775c8a 100644 --- a/mozilla/xpfe/browser/src/navigator-test1.xul +++ b/mozilla/xpfe/browser/src/navigator-test1.xul @@ -611,41 +611,7 @@ dump("Can't find status broadcaster!\n"); } } - - function onSecurity() { - var security = document.getElementById("Browser:Security"); - var indicator = document.getElementById("security-box"); - var icon = document.getElementById("security-button"); - - if ( security.getAttribute("secure") == "true" ) { - indicator.setAttribute("class","secure"); - icon.setAttribute("class","secure"); - } else { - indicator.setAttribute("class","insecure"); - icon.setAttribute("class","insecure"); - } - } - - function securityOn() { - var security = document.getElementById("Browser:Security"); - if ( security.getAttribute("secure") == "false" ) { - security.setAttribute("secure","true"); - // Temporary till onchange handlers work. - onSecurity(); - } - } - function securityOff() { - var security = document.getElementById("Browser:Security"); - if ( security.getAttribute("secure") == "true" ) { - security.setAttribute("secure","false"); - // Temporary till onchange handlers work. - onSecurity(); - } - } - function doTests() { - // Turn security on. - securityOn(); - } + function onStartBinding() { bindCount++; if ( bindCount == 1 ) { @@ -708,12 +674,11 @@ - - + @@ -732,7 +697,6 @@ -