rem: var label = gStringBundle.GetStringFromName(paperObj.name) itemNode.setAttribute("label", label); itemNode.setAttribute("value", i); popupNode.appendChild(itemNode); } catch (e) {} 
add: label = gStringBundle.GetStringFromName(paperObj.name) } catch (e) { /* No name in string bundle ? Then build one manually (this * usually happens when gPaperArray was build by createPaperArrayFromPrinterFeatures() ...) */ if (paperObj.inches) { label = paperObj.name + " (" + paperObj.width + "x" + paperObj.height + " in.)"; } else { label = paperObj.name + " (" + paperObj.width + "x" + paperObj.height + " mm)"; } } itemNode.setAttribute("label", label); itemNode.setAttribute("value", i); popupNode.appendChild(itemNode); 
context:     appendPaperNames:       function (aDataObject)         {           var popupNode = document.createElement("menupopup");           for (var i=0;i<aDataObject.length;i++)  {            var paperObj = aDataObject[i];            var itemNode = document.createElement("menuitem");            try {              var label = gStringBundle.GetStringFromName(paperObj.name)              itemNode.setAttribute("label", label);              itemNode.setAttribute("value", i);              popupNode.appendChild(itemNode);            } catch (e) {}          }          this.listElement.appendChild(popupNode);         } 
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1f0a883e6cd30b4e3e0b17e272460cd7ebbfd96c/printjoboptions.js/clean/xpfe/global/resources/content/unix/printjoboptions.js