From fca701ce95aa6a5f4e1995ea47dbd09a545ffa57 Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Wed, 18 Aug 1999 09:42:58 +0000 Subject: [PATCH] removing Security specific stuff. git-svn-id: svn://10.0.0.236/trunk@43491 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/browser/src/navigator-test1.xul | 40 +------------------- 1 file changed, 2 insertions(+), 38 deletions(-) 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 @@ -