context:   createMenuItem: function (aDisplayName, aCommandName, aItemNode)  {    const kXULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";    var xulElement = document.createElementNS(kXULNS, "menuitem");    xulElement.setAttribute("command", aCommandName);    xulElement.setAttribute("observes", "cmd_" + aCommandName.substring(NC_NS_CMD.length));    var node = xulElement.getAttribute('observes');        switch (aCommandName) {    case NC_NS_CMD + "open":      xulElement.setAttribute("value", aDisplayName);      xulElement.setAttribute("default", "true");      break;    case NC_NS_CMD + "openfolder":      aDisplayName = aItemNode.getAttribute("open") == "true" ? this.getLocaleString("cmd_openfolder2") : aDisplayName;      xulElement.setAttribute("value", aDisplayName);      xulElement.setAttribute("default", "true");      break;    case NC_NS_CMD + "renamebookmark":      if (!document.popupNode.hasAttribute("type")) {        xulElement.setAttribute("value", this.getLocaleString("cmd_renamebookmark2"));        xulElement.setAttribute("command", (NC_NS_CMD + "editurl"));      }      else        xulElement.setAttribute("value", aDisplayName);      break;    default:      xulElement.setAttribute("value", aDisplayName);      break;    }        return xulElement;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/bookmarksTree.js/buggy/xpfe/components/bookmarks/resources/bookmarksTree.js