rem: sizeText = pageSize; 
add: sizeText = theBundle.getFormattedString("generalSize", [Math.round(kbSize*100)/100, pageSize]); 
context: function makeGeneralTab(){  var theBundle = document.getElementById("pageinfobundle");  var unknown = theBundle.getString("unknown");  var notSet = theBundle.getString("notset");    var title = (theDocument.title) ? theBundle.getFormattedString("pageTitle", [theDocument.title]) : theBundle.getString("noPageTitle");  document.getElementById("titletext").value = title;  var url = theDocument.location;  document.getElementById("urltext").value = url;  var mode = ("compatMode" in theDocument && theDocument.compatMode == "BackCompat") ? theBundle.getString("generalQuirksMode") : theBundle.getString("generalStrictMode");  document.getElementById("modetext").value = mode;  // find out the mime type  var mimeType = theDocument.contentType || unknown;  document.getElementById("typetext").value = mimeType;    // get the meta tags  var metaNodes = theDocument.getElementsByTagName("meta");  var metaTree = document.getElementById("metatree");  var metaView = new pageInfoTreeView(["meta-name","meta-content"], COPYCOL_META_CONTENT);  metaTree.treeBoxObject.view = metaView;  var length = metaNodes.length;  for (var i = 0; i < length; i++)  {        metaView.addRow([metaNodes[i].name || metaNodes[i].httpEquiv, metaNodes[i].content]);  }  metaView.rowCountChanged(0, length);    // get the document characterset  var encoding = theDocument.characterSet;  document.getElementById("encodingtext").value = encoding;  // get the date of last modification  var modifiedText = formatDate(theDocument.lastModified, notSet);  document.getElementById("modifiedtext").value = modifiedText;    // get cache info  var sourceText = theBundle.getString("generalNotCached");  var expirationText = theBundle.getString("generalNoExpiration");  var sizeText = unknown;  var pageSize = 0;   var kbSize = 0;  var expirationTime = 0;  try  {    var cacheEntryDescriptor = httpCacheSession.openCacheEntry(url, Components.interfaces.nsICache.ACCESS_READ, true);    if(cacheEntryDescriptor)    {       switch(cacheEntryDescriptor.deviceID)      {        case "disk":          sourceText = theBundle.getString("generalDiskCache");          break;        case "memory":          sourceText = theBundle.getString("generalMemoryCache");          break;        default:          sourceText = cacheEntryDescriptor.deviceID;          break;      }      pageSize = cacheEntryDescriptor.dataSize;      kbSize = pageSize / 1024;      sizeText = pageSize; // + " (" + 0 + "Kb)";      expirationText = formatDate(cacheEntryDescriptor.expirationTime*1000, notSet);    }  }  catch(ex)  {    try    {      cacheEntryDescriptor = ftpCacheSession.openCacheEntry(url, Components.interfaces.nsICache.ACCESS_READ, true);      if (cacheEntryDescriptor)      {        switch(cacheEntryDescriptor.deviceID)        {          case "disk":            sourceText = theBundle.getString("generalDiskCache");            break;          case "memory":            sourceText = theBundle.getString("generalMemoryCache");            break;          default:            sourceText = cacheEntryDescriptor.deviceID;            break;        }        pageSize = cacheEntryDescriptor.dataSize;        kbSize = pageSize / 1024;        sizeText = pageSize; // + " (" + 0 + "Kb)";        expirationText = formatDate(cacheEntryDescriptor.expirationTime*1000, notSet);      }    }    catch(ex2)    {      sourceText = theBundle.getString("generalNotCached");    }  }  document.getElementById("sourcetext").value = sourceText;  document.getElementById("expirestext").value = expirationText;  document.getElementById("sizetext").value = sizeText;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a4cfeb0a072a53fa2a51eb2c78385dd4d925662c/pageInfo.js/buggy/xpfe/browser/resources/content/pageInfo.js