rem: return false; 
add: return bothFalse; 
context:     function stateFound(content, captureOrPrefill, threshhold) {      bestState = hide;      if (!content || !content.document) {        return false;      }      var document = content.document;      if (!("forms" in document)) {        // this will occur if document is xul document instead of html document for example        return false;      }      // test for wallet service being available      if (gWalletService == -1)        gWalletService = Components.classes["@mozilla.org/wallet/wallet-service;1"]                                   .getService(Components.interfaces.nsIWalletService);      if (!gWalletService) {        return true;      }      var state;      elementCount = 0;      // process frames if any      var formsArray;      var framesArray = content.frames;      if (framesArray.length != 0) {        var frame;        for (frame=0; frame<framesArray.length; ++frame) {          // recursively process each frame for additional documents          if (stateFound(framesArray[frame], captureOrPrefill, threshhold)) {            return true;          }          // process the document of this frame          var frameDocument = framesArray[frame].document;          if (frameDocument) {            if (stateFoundInFormsArray(frameDocument.forms, captureOrPrefill, threshhold)) {              gIsEncrypted = -1;              return true;            }          }        }      }      // process top-level document      gIsEncrypted = -1;      if (stateFoundInFormsArray(document.forms, captureOrPrefill, threshhold)) {        return true;      }      // if we got here, then there was no text (or select) element with a value      // or there were too few text (or select) elements      if (elementCount > threshhold) {        // no text (or select) element with a value        return false;      }      // too few text (or select) elements      bestState = hide;      return false;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/74d9c1cdb0960064ae76585522c710a299329a22/walletOverlay.js/clean/extensions/wallet/resources/content/walletOverlay.js