rem: var menuItem = document.createElement("menuitem"); 
add: var menuItem = document.createElementNS("http: 
context: function isImageFile(parent,url){    // note: deleted all the doContextCmd stuff from bookmarks.    var menuItem = document.createElement("menuitem");    menuItem.setAttribute("value","Insert Image");    // menuItem.setAttribute("onaction","AutoInsertImage(\'" + url + "\')");    parent.appendChild(menuItem);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/64923492d220ce88f8a120408679abaeba579d28/sb-file-contextMenu.js/buggy/editor/ui/composer/content/sb-file-contextMenu.js