rem: } 
add: }, 
context:   createMenuItemForNode: function(aNode, aContainersMap) {    var element;    var type = aNode.type;    if (type == Ci.nsINavHistoryResultNode.RESULT_TYPE_SEPARATOR)      element = document.createElement("menuseparator");    else {      var iconURI = aNode.icon;      var iconURISpec = "";      if (iconURI)        iconURISpec = iconURI.spec;      if (this.uriTypes.indexOf(type) != -1) {        element = document.createElement("menuitem");        element.setAttribute("statustext", aNode.uri);        element.className = "menuitem-iconic bookmark-item";      }      else if (this.containerTypes.indexOf(type) != -1) {        element = document.createElement("menu");        element.setAttribute("container", "true");                if (iconURISpec == "chrome://browser/skin/places/livemarkItem.png")          element.setAttribute("livemark", "true");        var popup = document.createElement("menupopup");        popup._resultNode = asContainer(aNode);#ifndef XP_MACOSX        // no context menu on mac        popup.setAttribute("context", "placesContext");#endif        element.appendChild(popup);        if (aContainersMap)          aContainersMap.push({ resultNode: aNode, domNode: popup });        element.className = "menu-iconic bookmark-item";      }      else        throw "Unexpected node";      element.setAttribute("label", aNode.title);      if (iconURISpec)        element.setAttribute("image", iconURISpec);    }    element.node = aNode;    element.node.viewIndex = 0;    return element;  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/515ad5f12b663f1789d0d62c6a551f101a365824/utils.js/clean/browser/components/places/content/utils.js