rem: } 
context: function makeGeneralTab(){  var title = (gDocument.title) ? gBundle.getFormattedString("pageTitle", [gDocument.title]) : gBundle.getString("noPageTitle");  document.getElementById("titletext").value = title;  var url = gDocument.location.toString();  setItemValue("urltext", url);  var referrer = ("referrer" in gDocument && gDocument.referrer);  setItemValue("refertext", referrer);  // find out the mime type  var mimeType = gDocument.contentType;  setItemValue("typetext", mimeType);  // get the document characterset  var encoding = gDocument.characterSet;  document.getElementById("encodingtext").value = encoding;  // get the meta tags  var metaNodes = gDocument.getElementsByTagName("meta");  var length = metaNodes.length;  if (!length) {    var metaGroup = document.getElementById("metaTags");    metaGroup.collapsed = true;  }  else {    var metaTagsCaption = document.getElementById("metaTagsCaption");    if (length == 1)      metaTagsCaption.label = gBundle.getString("generalMetaTag");    else      metaTagsCaption.label = gBundle.getFormattedString("generalMetaTags", [length]);    var metaTree = document.getElementById("metatree");    metaTree.treeBoxObject.view = gMetaView;    for (var i = 0; i < length; i++)      gMetaView.addRow([metaNodes[i].name || metaNodes[i].httpEquiv, metaNodes[i].content]);  }  // get the date of last modification  var modifiedText = formatDate(gDocument.lastModified, gStrings.notSet);  document.getElementById("modifiedtext").value = modifiedText;  // get cache info  var cacheKey = url.replace(/#.*$/, "");  try {    var cacheEntryDescriptor = httpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);  }  catch(ex) {    try {      cacheEntryDescriptor = ftpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);    }    catch(ex2) { }  }  var sizeText;  if (cacheEntryDescriptor) {    var pageSize = cacheEntryDescriptor.dataSize;    var kbSize = formatNumber(Math.round(pageSize / 1024 * 100) / 100);    sizeText = gBundle.getFormattedString("generalSize", [kbSize, formatNumber(pageSize)]);  }  setItemValue("sizetext", sizeText);  securityOnLoad();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/a896b7d8bcb1f662cd55003ac0443850d672ec68/pageInfo.js/buggy/browser/base/content/pageinfo/pageInfo.js