rem: htmltagname = ""; 
add: htmllocalname = ""; 
context: function showMetadataFor(elem){    // skip past non-element nodes    while (elem && elem.nodeType != Node.ELEMENT_NODE)        elem = elem.parentNode;    if (!elem) {        alert(gMetadataBundle.getString("unableToShowProps"));        window.close();    }    if (elem.ownerDocument.getElementsByName && !elem.ownerDocument.namespaceURI)        htmlMode = true;        // htmltagname is "" if it's not an html tag, or the name of the tag if it is.    var htmltagname = "";    if (isHTMLElement(elem,"")) {         htmltagname = elem.tagName.toLowerCase();    }        // We only look for images once    checkForImage(elem, htmltagname);        // Walk up the tree, looking for elements of interest.    // Each of them could be at a different level in the tree, so they each    // need their own boolean to tell us to stop looking.    while (elem && elem.nodeType == Node.ELEMENT_NODE) {        if (!onLink)   checkForLink(elem, htmltagname);        if (!onInsDel) checkForInsDel(elem, htmltagname);        if (!onQuote)  checkForQuote(elem, htmltagname);        if (!onTable)  checkForTable(elem, htmltagname);        if (!onTitle)  checkForTitle(elem, htmltagname);        if (!onLang)   checkForLang(elem, htmltagname);                  elem = elem.parentNode;        htmltagname = "";        if (isHTMLElement(elem,"")) {             htmltagname = elem.tagName.toLowerCase();        }    }        // Decide which sections to show    var onMisc = onTable || onTitle || onLang;    if (!onMisc)   hideNode("misc-sec");    if (!onLink)   hideNode("link-sec");    if (!onImage)  hideNode("image-sec");    if (!onInsDel) hideNode("insdel-sec");    if (!onQuote)  hideNode("quote-sec");    // Fix the Misc section visibilities    if (onMisc) {        if (!onTable) hideNode("misc-tblsummary");        if (!onLang)  hideNode("misc-lang");        if (!onTitle) hideNode("misc-title");    }    // Get rid of the "No properties" message. This is a backstop -    // it should really never show, as long as nsContextMenu.js's    // checking doesn't get broken.    if (onLink || onImage || onInsDel || onQuote || onMisc)        hideNode("no-properties")}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e7888a59ff40612733bf6c0da76a1ca3d2d7868f/metadata.js/buggy/suite/browser/metadata.js