context: function SetPageProxyState(aState, aURI){  if (!gURLBar)    return;  if (!gProxyButton)    gProxyButton = document.getElementById("page-proxy-button");  if (!gProxyFavIcon)    gProxyFavIcon = document.getElementById("page-proxy-favicon");  if (!gProxyDeck)    gProxyDeck = document.getElementById("page-proxy-deck");  gProxyButton.setAttribute("pageproxystate", aState);  if (aState == "valid") {    gLastValidURLStr = gURLBar.value;    gURLBar.addEventListener("input", UpdatePageProxyState, false);    if (gBrowser.shouldLoadFavIcon(aURI)) {      var favStr = gBrowser.buildFavIconString(aURI);      if (favStr != gProxyFavIcon.src) {        gBrowser.loadFavIcon(aURI, "src", gProxyFavIcon);        gProxyDeck.selectedIndex = 0;      }      else gProxyDeck.selectedIndex = 1;    }    else {      gProxyDeck.selectedIndex = 0;      gProxyFavIcon.removeAttribute("src");    }  } else if (aState == "invalid") {    gURLBar.removeEventListener("input", UpdatePageProxyState, false);    gProxyDeck.selectedIndex = 0;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0e799dbef1ba9916e073356644a74553011eb9d3/browser.js/clean/browser/base/content/browser.js