rem: if (e.result == Components.results.NS_ERROR_NOT_AVAILABLE) 
add:   if (e.result == Components.results.NS_ERROR_FAILURE) 
context:     _encrypt : function (plainText) {        var cipherText = null, userCanceled = false;        try {            var converter = Cc["@mozilla.org/intl/scriptableunicodeconverter"].                            createInstance(Ci.nsIScriptableUnicodeConverter);            converter.charset = "UTF-8";            var plainOctet = converter.ConvertFromUnicode(plainText);            plainOctet += converter.Finish();            cipherText = this._decoderRing.encryptString(plainOctet);        } catch (e) {            this.log("Failed to encrypt string. (" + e.name + ")");            if (e.result == Components.results.NS_ERROR_NOT_AVAILABLE)                userCanceled = true;        }        return [cipherText, userCanceled];    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/90b2ce5ffa6311b39a2bcba81fa89d850a6974d0/storage-Legacy.js/clean/toolkit/components/passwordmgr/src/storage-Legacy.js