context:   synthesizeVersion: function(aMisc, aProductSub)  {    // Strip out portion of nsIHttpProtocolHandler.misc that    // contains version info and stuff all ``missing'' portions    // with a default 0 value.  We are interested in the first 3    // numbers delimited by periods.  The 4th comes from aProductSub.    // e.g., x => x.0.0, x.1 => x.1.0, x.1.2 => x.1.2, x.1.2.3 => x.1.2        var synthesized = "0.0.0.";    // match only digits and periods after "rv:" in the misc    var onlyVer = /rv:([0-9.]+)/.exec(aMisc);    // original string in onlyVer[0], matched substring in onlyVer[1]    if (onlyVer && onlyVer.length >= 2)     {      var parts = onlyVer[1].split('.');      var len = parts.length;      if (len > 0)      {        synthesized = "";        // extract first 3 dot delimited numbers in misc (after "rv:")        for (var i = 0; i < 3; ++i)        {          synthesized += ((len >= i+1) ? parts[i] : "0") + ".";        }      }    }    // tack on productSub for nsVersion.mBuild field if available    synthesized += aProductSub ? aProductSub : "0";       return synthesized;  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsUpdateNotifier.js/buggy/xpfe/components/updates/src/nsUpdateNotifier.js